Re: wireless access point in FreeBSD 8.2p2
> From owner-freebsd-questi...@freebsd.org Sun Aug 28 20:41:41 2011 > From: Paul Beard > Date: Sun, 28 Aug 2011 18:39:41 -0700 > To: Warren Block > Cc: "freebsd-questions@FreeBSD. ORG" > Subject: Re: wireless access point in FreeBSD 8.2p2 > > > I'll read through that and see if it helps me at all. > > I found this "'Hidden' SSIDs are not really hidden. They make network > setup more difficult and provide no real security benefits." > interesting. I assume you could figure them out from wardriving? Hidden SSIDs just mean that the access point doesn't broadcast/announce it. The client machine has to transmit it, so that _AN_ access point can tell whether or not the client is tryint to connect to _it_. With something that snoops _all_ the wireless traffic, all you have to do is wait for somebody, _anybody_, to connect to that access point, and bingo, you've got the SSID. 'Hiding' the ID does nothing to deter the "determined" attacker, but it is quite effective at stopping the 'casual' leech. It also means that boxes that 'automatically" connect to the strongest signal in range, when none of their 'favored' networks are in range -- such boxes wil _not_ attempt to a system that doesn't "publish" it's SSID. This can be beneficial. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: wireless access point in FreeBSD 8.2p2
On Aug 28, 2011, at 5:28 PM, Warren Block wrote: > IMO, the wireless section is already so stuffed full of detail that it > obscures the basics. In fairness, it's a complicated topic. But I'd much > rather see a simple setup for the 80% use case followed by another section > with all the grimy details that most people won't need. That's why I did > this: http://www.wonkity.com/~wblock/docs/html/wireless.html I'll read through that and see if it helps me at all. I found this — "'Hidden' SSIDs are not really hidden. They make network setup more difficult and provide no real security benefits." — interesting. I assume you could figure them out from wardriving? -- Paul Beard Are you trying to win an argument or solve a problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: wireless access point in FreeBSD 8.2p2
On Sun, 28 Aug 2011, Paul Beard wrote: On Aug 28, 2011, at 3:17 PM, Warren Block wrote: In 8.x, a virtual wlan0 device is created to speak to the actual device, ath0 in this case. It's normal. Maybe I'm just confused by normality. I guess what would help in the Handbook, if nowhere else, is the *full* output of ifconfig(8) for purposes of comparison and elucidation. I see it called with just one interface but unless you're on the console, it's likely you're adding the wlan interface to an existing wired interface. And at the risk of stating the obvious, there has to be a wired interface for it to actually work as an access point, no? I can only speculate why that's not shown, and I'd guess it's feared that it would further confuse the reader. IMO, the wireless section is already so stuffed full of detail that it obscures the basics. In fairness, it's a complicated topic. But I'd much rather see a simple setup for the 80% use case followed by another section with all the grimy details that most people won't need. That's why I did this: http://www.wonkity.com/~wblock/docs/html/wireless.html I haven't really had the hardware (PCI to mini-PCIe adapter, or PCI 802.11g card) to try a FreeBSD hostap. Now that I think about it, I guess it could be done on a notebook. I'll add that to my list of "things that I should do unless someone else does it first." Seeing what the pfsense.org guys do for AP setup might be helpful. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: wireless access point in FreeBSD 8.2p2
From: Paul Beard To: Cc: "freebsd-questions@FreeBSD. ORG" Sent: Sunday, August 28, 2011 12:22 PM Subject: Re: wireless access point in FreeBSD 8.2p2 On Aug 28, 2011, at 7:04 AM, CyberLeo Kitsana wrote: > It is especially useful when you cannot ping, as it can tell you if the > packets are even arriving. The "no route to host" result makes me think the packets aren't going far ;-) The new device and the wired interface are at adjacent numeric addresses and all the devices here are in the same subnet behind the WRT54G and that is behind the cable co's black box. I think I may be more confused now than when I started. One thing that has seemed opaque to me is that both ath0 and wlan0 display when I run ifconfig and look very similar: makes me think they might be stepping on each other. Or it's just one more thing I don't understand :-( ath0: flags=8843 metric 0 mtu 2290 ether 00:0d:88:93:21:3a media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running wlan0: flags=8843 metric 0 mtu 1500 ether 00:0d:88:93:21:3a inet 192.168.0.26 netmask 0xff00 broadcast 192.168.0.255 inet6 fe80::20d:88ff:fe93:213a%wlan0 prefixlen 64 scopeid 0x8 nd6 options=3 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid lower channel 8 (2447 MHz 11g) bssid 00:0d:88:93:21:3a regdomain FCC indoor ecm authmode OPEN privacy OFF txpower 27 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs I know (or think I do) that ath0 is the real interface and wlan0 is a virtualized or cloned or something handle to it. But the similarities (both are running, both show the same info for media) trouble me. The only thing that makes me think I'm doing anything here is that wlan0 is actually assigned to channel 8. I can sort of see that getting it working as a client would be instructive and I think I did that some time ago (perhaps in 7.x) but since you reuse almost nothing but the hardware, I don't see a lot of value in that, other than verifying that the hardware works and that you can follow the instructions. The latter can be a challenge, I'll admit. So to recap: the idea of this was to provide a redundant spare for the WRT54G, behind a cable modem, in a private network, with the only security being at the AP • No ipfw or any of that, as it wouldn't be visible on the public internet. • I'll add WPA/2 once it works (that seems trivial, as I have been able to authenticate to the AP even though it didn't pass any packets beyond that). • It would deal with static addresses (I could add dhcp later, once this was working, as phones and other devices are more easily dealt with that way). So it looks like a bridge, if it joins an Ethernet network and an 802.11-based one. Curiously, none of the instructions I have seen mention bridging, even though the explicitly connect Ethernet and wireless. And all the HOWTOs look simple, the work of a few minutes of copy and paste. I think I may just shelve this and if needed, turn up my Time Capsule's wireless capability (if it would play nicely and extend the WRT54G, I'd be using it now). And APs that support open source firmware are not that hard to find, though Tomato doesn't support as many as the *-wrt variants. *grumble* -- Paul Beard Are you trying to win an argument or solve a problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" It's been about 18 months since I went through this exercise with FreeBSD but I found it to be not worth the effort. I spent several hours getting all the configs right and the docs were as usual out of date but I eventually got it going. The trouble was it was sporadic at best. Sometimes the laptop clients made the connection and other times they didn't. And when they did the speed of the wireless connection was so slow, it just wasn't worth my time. I did this to have the experience with it and to have a backup to my Netgear wireless router. The trouble was the Netgear wireless AP device works so well and is plenty fast, unlike what I was getting with my FreeBSD server. The Netgear device has been working 24/7 for almost 2 years now so I just gave up on the FreeBSD option. I would like to think that things are better now, I just haven't had the time to take another whack at it. Good luck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: wireless access point in FreeBSD 8.2p2
On Aug 28, 2011, at 3:17 PM, Warren Block wrote: > In 8.x, a virtual wlan0 device is created to speak to the actual device, ath0 > in this case. It's normal. Maybe I'm just confused by normality. I guess what would help in the Handbook, if nowhere else, is the *full* output of ifconfig(8) for purposes of comparison and elucidation. I see it called with just one interface but unless you're on the console, it's likely you're adding the wlan interface to an existing wired interface. And at the risk of stating the obvious, there has to be a wired interface for it to actually work as an access point, no? -- Paul Beard Are you trying to win an argument or solve a problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: wireless access point in FreeBSD 8.2p2
On Sun, 28 Aug 2011, Paul Beard wrote: One thing that has seemed opaque to me is that both ath0 and wlan0 display when I run ifconfig and look very similar: makes me think they might be stepping on each other. Or it's just one more thing I don't understand :-( In 8.x, a virtual wlan0 device is created to speak to the actual device, ath0 in this case. It's normal. See wlan(4) and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Hi
On Sun, Aug 28, 2011 at 5:09 PM, Spencer Thompson < spencer.s.thomp...@gmail.com> wrote: > Dear FreeBSD.org, > > I would like to order a CD with FreeBSD for an IBM Thinkpad. What is the > best package to get? Will it work perfectly? I want a package with the > manual, man-pages and how to use FreeBSD perfectly in books. > Download the 8.2-RELEASE dvd > > What does Free in FreeBSD mean? Does it mean Free as in Free of charge? > Or > is there an alternate meaning? > It means many things including free of charge... it also means the freedom to modify, etc. > > I'm wanting the best operating system for my laptop. Is this the one? Why > is it free of charge when I want to pay for it? I don't want something > stupid. > What OS is best for a particular person depends on the applications you need to run > Does it come with all the applications I need for business and marketing? > That's all I need. > What specific applications do you have in mind? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Hi
Dear FreeBSD.org, I would like to order a CD with FreeBSD for an IBM Thinkpad. What is the best package to get? Will it work perfectly? I want a package with the manual, man-pages and how to use FreeBSD perfectly in books. What does Free in FreeBSD mean? Does it mean Free as in Free of charge? Or is there an alternate meaning? I'm wanting the best operating system for my laptop. Is this the one? Why is it free of charge when I want to pay for it? I don't want something stupid. I don't want to read the man-pages on the internet. Or the manual on the internet. Nor download anything. I don't like that. Does it come with all the applications I need for business and marketing? That's all I need. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: A quality operating system
On Sun, Aug 28, 2011 at 12:21:06PM -0400, Daniel Staal wrote: > > What do you mean? All you need is some random link to a random survey URL. > The fact that the survey doesn't mention anything about the product in > question, the type of issue addressed, what type of response he was given, > or anything else actually pertaining to his situation is totally > irrelevant. As is the fact that the survey won't be read by anyone. ;) 1. It would need to be prefaced by another bloviating line of corporate doublespeak. 2. Have you heard the phrase "the straw that broke the camel's back"? Your assessment of the nature of the survey itself is pretty accurate, though. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpSLOkZJrGZZ.pgp Description: PGP signature
Closed [was Re: wireless access point in FreeBSD 8.2p2]
On Aug 28, 2011, at 12:38 PM, Bill Tillman wrote: > I did this to have the experience with it and to have a backup to my Netgear > wireless router. The trouble was the Netgear wireless AP device works so well > and is plenty fast, unlike what I was getting with my FreeBSD server. The > Netgear device has been working 24/7 for almost 2 years now so I just gave up > on the FreeBSD option. I think you sold me on the futility of this exercise. My Linksys has been in service longer than that, 5 years at least. Maybe one of the micro-flavors of FreeBSD or NetBSD might be better suited to this, on a low-powered disused hardware platform. It doesn't seem reliable enough to spend any more time on. If I could make it work, I could like to compare what it took to the various approaches I have read (including in the Handbook which is usually very dependable: I used it earlier today to refresh my memory on adding a swapfile). I'm calling it closed for now. Better use of my time to just find a backup AP. -- Paul Beard Are you trying to win an argument or solve a problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Support for AR8151
On Sun, Aug 28, 2011 at 06:53:16PM +0200, José Manuel Iniesta Bernal wrote: > Hi! > > I've installed Freenas 8 in my computer, but Atheros AR8151 is not > supported. Perhaps in the future? > > Thanks! ALC(4) states that it is included in 8.2-RELEASE. In 8.1-RELEASE it's not included. Please ask at FreeNAS if they intend to update or include it. - Daniel pgpXMcdMvJohp.pgp Description: PGP signature
Atheros AR8151 support
Hi! I've installed Freenas 8 in my computer, but Atheros AR8151 is not supported. Perhaps in the future? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Support for AR8151
Hi! I've installed Freenas 8 in my computer, but Atheros AR8151 is not supported. Perhaps in the future? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: portmaster -a -B -d
Op 28-8-2011 16:27, Matthew Seaman schreef: Ideally ports committers should bump the eaccelerator PORTREVISION to make ports management tools do that automatically, but if not, you're going to have to remember to do it by hand. Thank you for your explanation. I enjoyed reading it and learned a lot from it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: wireless access point in FreeBSD 8.2p2
On Aug 28, 2011, at 7:04 AM, CyberLeo Kitsana wrote: > It is especially useful when you cannot ping, as it can tell you if the > packets are even arriving. The "no route to host" result makes me think the packets aren't going far ;-) The new device and the wired interface are at adjacent numeric addresses and all the devices here are in the same subnet behind the WRT54G and that is behind the cable co's black box. I think I may be more confused now than when I started. One thing that has seemed opaque to me is that both ath0 and wlan0 display when I run ifconfig and look very similar: makes me think they might be stepping on each other. Or it's just one more thing I don't understand :-( ath0: flags=8843 metric 0 mtu 2290 ether 00:0d:88:93:21:3a media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running wlan0: flags=8843 metric 0 mtu 1500 ether 00:0d:88:93:21:3a inet 192.168.0.26 netmask 0xff00 broadcast 192.168.0.255 inet6 fe80::20d:88ff:fe93:213a%wlan0 prefixlen 64 scopeid 0x8 nd6 options=3 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid lower channel 8 (2447 MHz 11g) bssid 00:0d:88:93:21:3a regdomain FCC indoor ecm authmode OPEN privacy OFF txpower 27 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs I know (or think I do) that ath0 is the real interface and wlan0 is a virtualized or cloned or something handle to it. But the similarities (both are running, both show the same info for media) trouble me. The only thing that makes me think I'm doing anything here is that wlan0 is actually assigned to channel 8. I can sort of see that getting it working as a client would be instructive and I think I did that some time ago (perhaps in 7.x) but since you reuse almost nothing but the hardware, I don't see a lot of value in that, other than verifying that the hardware works and that you can follow the instructions. The latter can be a challenge, I'll admit. So to recap: the idea of this was to provide a redundant spare for the WRT54G, behind a cable modem, in a private network, with the only security being at the AP • No ipfw or any of that, as it wouldn't be visible on the public internet. • I'll add WPA/2 once it works (that seems trivial, as I have been able to authenticate to the AP even though it didn't pass any packets beyond that). • It would deal with static addresses (I could add dhcp later, once this was working, as phones and other devices are more easily dealt with that way). So it looks like a bridge, if it joins an Ethernet network and an 802.11-based one. Curiously, none of the instructions I have seen mention bridging, even though the explicitly connect Ethernet and wireless. And all the HOWTOs look simple, the work of a few minutes of copy and paste. I think I may just shelve this and if needed, turn up my Time Capsule's wireless capability (if it would play nicely and extend the WRT54G, I'd be using it now). And APs that support open source firmware are not that hard to find, though Tomato doesn't support as many as the *-wrt variants. *grumble* -- Paul Beard Are you trying to win an argument or solve a problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: A quality operating system
--As of August 28, 2011 9:10:34 AM -0600, Chad Perrin is alleged to have said: On Sat, Aug 27, 2011 at 09:04:28PM -0700, Chip Camden wrote: Quoth Chad Perrin on Saturday, 27 August 2011: > > I've decided to provide the "professional" response "Evan" claims to > crave: > > Dear Evan, > > We appreciate your feedback on the quality, scope, and focus of our > software and documentation. We always strive to provide the > highest quality products and service to all of our customers, and > constantly seek new ways to improve on perfection. The input of > our customers is a key element of our strategy to consistently > provide what they need in a timely and responsible fashion. > > Your ticket number is d3b07384d113edec49eaa6238ad5ff00. Your case > worker is Robert Jones. Your ticket is: > > [ ] Pending Action > [ ] Open > [X] Closed: Complete > > Your account has been charged $14.99 for successful completion. > Note that this special 25% reduced support pricing will only apply > for actions until September 15th. Take advantage of the discounts > now! > > If you have any further questions, do not hesitate to use the > support form on the Website. Thank you for your business. Perfect, except you didn't charge enough -- and you didn't ask him to complete a survey. In retrospect, I see that you are of course correct about the charge. I considered doing something with a survey, but it was a lot of work constructing something using soul-sucking corporate "customer service" lingo, and I just didn't have the energy left to write anything about a survey. --As for the rest, it is mine. What do you mean? All you need is some random link to a random survey URL. The fact that the survey doesn't mention anything about the product in question, the type of issue addressed, what type of response he was given, or anything else actually pertaining to his situation is totally irrelevant. As is the fact that the survey won't be read by anyone. ;) Daniel T. Staal --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: System hanging, error messages with USB drive on FreeBSD 8.1
On 8/28/2011 11:20 AM, Brett Glass wrote: > At 11:43 PM 8/27/2011, Polytropon wrote: > >> I'm not sure if this will help you, but I also had similar >> problems with a Kingston USB stick (normal storage stick, >> no removable microSD card). It didn't work on any of my >> FreeBSD systems. So I finally returned it to the shop and >> got a Sony USB stick instead - no problems, works fine. >> >> So this is my assumption: Some hardware vendors maybe >> improperly implement the USB protocol in their devices, > > A Web search reveals that there are dozens which apparently > have problems with FreeBSD, while Windows has problems with > none of them. This leads me to believe that the problem is > in FreeBSD, not the hardware. The vendors most probably write their own drivers for windows. They do not for FreeBSD and its best effort for FreeBSD. I have yet to come across a USB umass device that needs a quirks setting to make it work. But I am sure there are many out there as there are dozens of different vendors/OEMs out there of all sorts of quality. Having to deal with the edge cases using a single command is perfectly acceptable to me. If setting a quirks value for FreeBSD is not workable for you, perhaps Windows is a better choice for your use. ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: A quality operating system
On Sat, Aug 27, 2011 at 09:04:28PM -0700, Chip Camden wrote: > Quoth Chad Perrin on Saturday, 27 August 2011: > > > > I've decided to provide the "professional" response "Evan" claims to > > crave: > > > > Dear Evan, > > > > We appreciate your feedback on the quality, scope, and focus of our > > software and documentation. We always strive to provide the highest > > quality products and service to all of our customers, and constantly > > seek new ways to improve on perfection. The input of our customers > > is a key element of our strategy to consistently provide what they > > need in a timely and responsible fashion. > > > > Your ticket number is d3b07384d113edec49eaa6238ad5ff00. Your case > > worker is Robert Jones. Your ticket is: > > > > [ ] Pending Action > > [ ] Open > > [X] Closed: Complete > > > > Your account has been charged $14.99 for successful completion. Note > > that this special 25% reduced support pricing will only apply for > > actions until September 15th. Take advantage of the discounts now! > > > > If you have any further questions, do not hesitate to use the support > > form on the Website. Thank you for your business. > > Perfect, except you didn't charge enough -- and you didn't ask him to > complete a survey. In retrospect, I see that you are of course correct about the charge. I considered doing something with a survey, but it was a lot of work constructing something using soul-sucking corporate "customer service" lingo, and I just didn't have the energy left to write anything about a survey. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgp9rSli0MpHu.pgp Description: PGP signature
Re: System hanging, error messages with USB drive on FreeBSD 8.1
At 11:43 PM 8/27/2011, Polytropon wrote: >I'm not sure if this will help you, but I also had similar >problems with a Kingston USB stick (normal storage stick, >no removable microSD card). It didn't work on any of my >FreeBSD systems. So I finally returned it to the shop and >got a Sony USB stick instead - no problems, works fine. > >So this is my assumption: Some hardware vendors maybe >improperly implement the USB protocol in their devices, A Web search reveals that there are dozens which apparently have problems with FreeBSD, while Windows has problems with none of them. This leads me to believe that the problem is in FreeBSD, not the hardware. USB mass storage devices are, for some reason, handled by FreeBSD's SCSI/CAM subsystem, which seems to want to treat a USB storage device (a memory stick or a memory card in an adapter) as a full-out SCSI device when it is not. The SCSI commands which fail usually have to do with flushing the cache and/or other functions which just don't apply to a USB stick. It looks as if the devices which do not have trouble are just IGNORING the SCSI commands, not executing them. In short, FreeBSD really should not be trying to issue them in the first place. In short, this shouldn't be something that's handled by "quirks." Instead, the system simply should recognize that a USB memory stick is not a SCSI drive. --Brett Glass ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Identifying disk activity
On Sun, 28 Aug 2011, Polytropon wrote: Is there a way to force "synchronous disk activity"? Turning off soft updates will help, but not make disk writes totally synchronous. Can this be done easily (e. g. "tunefs -n disable SUM isn't needed, just have the filesystem unmounted. Never had data loss from it. Disabling write caching will also help to make filesystem writes more synchronous. There are several sysctls and some information on soft updates at http://www.freebsd.org/doc/handbook/configtuning-disk.html. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: portmaster -a -B -d
On 28/08/2011 13:38, Dick Hoogendijk wrote: > A few days back I did a "portmaster -a -B -d" but later on I found out > that one port (www/eAccelerator) complained about being compiled for > another version of PHP (which by then was updated by portmaster). I > expected portmaster to take care of these kind of dependencies. Where am > I wrong in this assumption? eaccelerator is an oddity. It only works properly with the version of PHP it was compiled against. Unfortunately there isn't a good automatic mechanism in ports to say "recompile this port, because something it depends on was upgraded." It's like something that depends on a shlib in that respect, that needs to be rebuilt when the shlib ABI version changes. While it might be possible to do hackish things, like include the PHP pkg version string into the eaccelerator pkg version, on the whole the correct solution seems to be to reinstall eaccelerator each time PHP gets a significant upgrade. Ideally ports committers should bump the eaccelerator PORTREVISION to make ports management tools do that automatically, but if not, you're going to have to remember to do it by hand. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: wireless access point in FreeBSD 8.2p2
On 08/27/2011 11:08 PM, Paul Beard wrote: > > On Aug 27, 2011, at 8:48 PM, CyberLeo Kitsana wrote: > >> tcpdump(1) is your friend; it seems cryptic and obtuse at first glance, >> but it will help immensely >> > I wasn't sure there was any reason to use that yet: I can't even ping it from > another host. It is especially useful when you cannot ping, as it can tell you if the packets are even arriving. In my case, it helped indicate that packets were arriving, but that, because I had re-used the SSID, the client was applying encryption settings (from the old AP) that the new AP was not expecting, and so the packets were arriving horribly mutilated. >> wlan0 itself will not assign v4 addresses to clients; you need a DHCP >> server for that >> > I plan to use static addresses as I do already (this is just a backup in case > my WRT54G develops any issues). Static is just fine; just covering all points that came to mind. >> The hostap machine must be explicitly told to route packets, by setting >> gateway_enable="YES" in rc.conf and adding the appropriate routes >> > > I have that and the existing wired interface has the route set (I am > connecting through that to make this work). This raises the question of > whether I am expecting the functionality of a bridge without having > specifically made one. Bridging using if_bridge(4) is a different beast, but one that seems much easier to set up in comparison. I am using it in a slightly different configuration for another project, and it's pretty straightforward. Bridging does not require gateway mode to be enabled, as the packet forwarding is performed within the bridge driver, instead of within the network stack. Because of this, however, proper firewalling of wired and wireless clients is more difficult, and can weaken the security of your implicitly trusted cat5 cables. >> If you're intending this to be a home gateway, you will likely also need >> NAT. > > > I think NAT is handled by the telco hardware (on cable) for now. > > Hmm, starting to think this may not work as I expect. It might be fine as an > additional AP but not as a replacement without some configuration changes > that I will have forgotten how to make by then. The WRT box runs the PPPoE > connection for DSL which I should be switching back to. I'm sure it can be > done with this but I think I'm asking for trouble. I cannot say this is an easy task, given the number of components involved in a functioning gateway. I can say that it is quite possible given the software involved, though, since I've been running a homebrew FreeBSD-based gateway for years, and just yesterday introduced built-in wireless to replace the aging WRT54G AP and reduce power requirements further. > So maybe this is a solution in search of a problem. Might be to just find a > spare WRT54G or its modern equivalent. That would probably be the easiest solution; perhaps not the most satisfying, though. > But that doesn't mean I don't want to figure this out. Getting the wireless component functional by itself seems to be the biggest hurdle at the moment; after that, it's just one block atop another. I did recall one more potential issue: during testing with a Gentoo machine with an iwlagn adapter, my adjustments frequently confused the adapter so thoroughly that it refused to function correctly without a reset, even when the settings were correct. It's more annoying, but a full reset of all hardware involved after each change might help isolate any changes that put the hardware into an inconsistent state. Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: how can I use portmaster to update but skip a package
>>> You don't seem to have libnotify installed which will get you notify.h. >>> >> >> It was there, but something could have been wrong? I cd'd to >> /usr/ports/devel/libnotify and ran >> make install clean, and it told me that it was already installed and >> that I should run make deinstall& reintstall again. After I did >> that, now gnome-mount gets updated and only Libreoffice bombs out: >> >> ===>>> Port directory: /usr/ports/editors/libreoffice >> >> ===>>> This port is marked BROKEN >> ===>>> build is too fragile and break too often -- try >> libreoffice-legacy >> >> ===>>> If you are sure you can build it, remove the >> BROKEN line in the Makefile and try again. > > Have you tried to comment out the BROKEN line and rebuilt? > No, if the package fails to build what do I lose? except time of course. The package will stay where it is right? I don't if I should wait for the port maintainer to remove this by him/her(self); it is marked for a reason. In one of the machines I went with legacy, but the two at home, I have skipped updating this port. It is segfaulting and dropped an soffice.core in ~/ (home directory). It was working fine, but now I don't know if I should or not update it. Has anyone updated to latest? and is it recommended to try and build new package? Thanks & sorry for asking. I am not sure what to do here :( Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Wine-fbsd64 updated to 1.3.27 (32bit Wine for 64bit FreeBSD)
Hi, Packages [1] for wine-fbsd64-1.3.27 have been uploaded to mediafire [2]. This does contain XInput2 support. There are still reports of sound problems. To date there has been 920 (+62) downloads from mediafire. nVidia uses should rerun patch-wine-nvidia.sh after updating wine. Regards, David [1] MD5 (freebsd8/wine-fbsd64-1.3.27,1.tbz) = 03e3ecdd363ac0f343ba90eb8ef2ec2a MD5 (freebsd9/wine-fbsd64-1.3.27,1.txz) = ef790879eb2e8cf823cc7cd874afabed [2] http://www.mediafire.com/wine_fbsd64 signature.asc Description: This is a digitally signed message part.
Re: how can I use portmaster to update but skip a package
2011-08-28 13:13, Antonio Olivares skrev: On Sun, Aug 28, 2011 at 5:51 AM, Bernt Hansson wrote: 2011-08-27 13:18, Antonio Olivares skrev: I succeeded in updating like 5 packages out of 21, but now gnome-mount does not compile :( gnome-mount.c:44:30: error: libnotify/notify.h: No such file or directory You don't seem to have libnotify installed which will get you notify.h. It was there, but something could have been wrong? I cd'd to /usr/ports/devel/libnotify and ran make install clean, and it told me that it was already installed and that I should run make deinstall& reintstall again. After I did that, now gnome-mount gets updated and only Libreoffice bombs out: ===>>> Port directory: /usr/ports/editors/libreoffice ===>>> This port is marked BROKEN ===>>> build is too fragile and break too often -- try libreoffice-legacy ===>>> If you are sure you can build it, remove the BROKEN line in the Makefile and try again. Have you tried to comment out the BROKEN line and rebuilt? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Identifying disk activity
> Date: Sat, 27 Aug 2011 23:54:32 -0600 (MDT) > From: Warren Block > Subject: Re: Identifying disk activity > > > Is there a way to force "synchronous disk activity"? > > Turning off soft updates will help, but not make disk writes > totally synchronous. 'mount -o sync' does, however. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Scritping sysinstall and custom iso
On Sun, 28 Aug 2011 17:20:34 +0530, Amitabh Kant wrote: > All the commands run fine and I am able to generate an iso. Now, couple of > questions that have confused me: > a) Where do I place install.cfg file for sysinstall to read without any user > intervention? In the root directory of the disc1 layout or inside > 8.2-Release / other sub directory? According to /usr/src/usr.sbin/sysinstall/install.cfg's location from which one would conclude that the sysinstall would be in /usr/sbin of the CD (as well as installed on the disk), I would assume install.cfg to be in the same directory as the sysinstall program itself - /usr/sbin. But it could also be /stand... > b) Is there a place where I can get a sample install.cfg with all the > options explained? All I could find were different examples tailored to > specific situations, most of them towards PXE boot. The file /usr/src/usr.sbin/sysinstall/install.cfg does contain some comments for explaination. Also see "man 8 sysinstall" for the "SCRIPT SYNTAX" section. > c) Is it necessary to define every step in install.cfg? I would like to keep > disk partition / label and network configuration dialogs available (root > password if necessary), while setting values for all other user dialogs and > screens. I don't think it is neccessary (as assumed by the "incomplete" install.cfg mentioned above), but consult the documentation to be sure. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
portmaster -a -B -d
A few days back I did a "portmaster -a -B -d" but later on I found out that one port (www/eAccelerator) complained about being compiled for another version of PHP (which by then was updated by portmaster). I expected portmaster to take care of these kind of dependencies. Where am I wrong in this assumption? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Scritping sysinstall and custom iso
Hello I am trying to create a custom FreeBSD iso which will automate most of the steps asked in a standard installation using sysinstall. While "make release" is available, I was trying to modify disc1 iso, as it seems that I only need to have install.cfg for automating sysinstall. I downloaded the disc1 iso file (8.2 amd64 arch), created a memory disk using mdconfig, and then mounted the disk. The commands that I have run are: mdconfig -a -t vnode -f org.iso -u 0 mount_cd9660 /dev/md0 /mnt mkdir custom_iso cd custom_iso rsync -a /mnt/ . Once I am done with the changes, I plan to run the following command to recreate the iso mkisofs -J -R -V CustomBSD -no-emul-boot -b boot/cdboot -iso-level 3 -o /usr/home/isotest/custom.iso . All the commands run fine and I am able to generate an iso. Now, couple of questions that have confused me: a) Where do I place install.cfg file for sysinstall to read without any user intervention? In the root directory of the disc1 layout or inside 8.2-Release / other sub directory? b) Is there a place where I can get a sample install.cfg with all the options explained? All I could find were different examples tailored to specific situations, most of them towards PXE boot. c) Is it necessary to define every step in install.cfg? I would like to keep disk partition / label and network configuration dialogs available (root password if necessary), while setting values for all other user dialogs and screens. Amitabh Kant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: how can I use portmaster to update but skip a package
On Sun, Aug 28, 2011 at 5:51 AM, Bernt Hansson wrote: > 2011-08-27 13:18, Antonio Olivares skrev: > >> >> I succeeded in updating like 5 packages out of 21, but now gnome-mount >> does not compile :( >> >> gnome-mount.c:44:30: error: libnotify/notify.h: No such file or directory > > You don't seem to have libnotify installed which will get you notify.h. > It was there, but something could have been wrong? I cd'd to /usr/ports/devel/libnotify and ran make install clean, and it told me that it was already installed and that I should run make deinstall & reintstall again. After I did that, now gnome-mount gets updated and only Libreoffice bombs out: ===>>> Port directory: /usr/ports/editors/libreoffice ===>>> This port is marked BROKEN ===>>> build is too fragile and break too often -- try libreoffice-legacy ===>>> If you are sure you can build it, remove the BROKEN line in the Makefile and try again. ===>>> Update for libreoffice-3.3.3_2 failed ===>>> Aborting update Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap1.FreeBSD.org... done. Latest snapshot on server matches what we already have. No updates needed. Ports tree is already up to date. ===>>> New version available: libreoffice-3.4.2_1 ===>>> 669 total installed ports ===>>> 1 has a new version available This one might be worked on, so I think it will be better to wait for the problems to be worked on and then reinstall, unless someone has successfully updated to latest version and advices to proceed. Thanks for helping. Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: how can I use portmaster to update but skip a package
2011-08-27 13:18, Antonio Olivares skrev: I succeeded in updating like 5 packages out of 21, but now gnome-mount does not compile :( gnome-mount.c:44:30: error: libnotify/notify.h: No such file or directory You don't seem to have libnotify installed which will get you notify.h. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: bridged wireless access point in FreeBSD 8.2p2
Paul Beard wrote: > After some more head scratching, it sounds like what I want is a > bridge. Reading if_bridge(4), the first example looks a lot like > what I am trying to do. > ... > Did I misread this? Does sending packets between two physical > interfaces require a bridge? It requires either a bridge or a router. Which one you need depends on your and your ISP's setups. One thing to check is your "terms of service" (or whatever your ISP calls it). Unless you're paying commercial rates, they most likely limit you to a single IP address, in which case you _have_ to have a router* -- and almost certainly NAT -- somewhere between your LAN and the ISP. A bridge connects two (or more) segments of a single subnet: from an IP-addressing standpoint it's not much different from a hub or a switch. BTW, for your own protection, you also need a firewall. Home gateways like the WRT54G are usually set up to provide NAT, routing, and firewalling. * unless you have only one IP-addressed device on your LAN, in which case it can just go ahead and use the one IP address. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"