Re: packages listing
Uhh, I got a couple of answers :) Thx everybody! From: Nikos Vassiliadis To: "Teske, Devin" Cc: Dánielisz László ; Polytropon ; "freebsd-questions@freebsd.org" Sent: Sunday, February 10, 2013 2:51 PM Subject: Re: packages listing On 2/10/2013 3:09 PM, Teske, Devin wrote: > Just curious, why not use "pkg_info -Ra" instead of "pkg_info -R '*'" ? Because I didnt know -a;) ___ 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" ___ 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"
packages listing
Hi Everybody, Do you have any idea how can I list those installed packages that are not required by any other? Thx! Laszlo ___ 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"
munin dynazoom
Hi Everybody, I'm using munin 2.0.9 on FreeBSD 8.3 and for a reason the dynamic zoom is not working. Does any if you had this issue before or know the solutions? Thank you! Laszlo ___ 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: Music streaming to iPhone
I managed to solve the issue by editing manually master.passwd file then pwd_mkdb -p master.passwd. Firefly is up&running ;) From: Dánielisz László To: Beni Brinckman Cc: "freebsd-questions@freebsd.org" Sent: Sunday, November 25, 2012 9:05 PM Subject: Re: Music streaming to iPhone Thank you for the idea! Tonight I tried to install firefly but I'm stuck with the following error: ===> Creating users and/or groups. Using existing group `daapd'. Creating user `daapd' with uid `337'. pw: user 'daapd' already exists *** Error code 74 And when if I try deleting daapd user: # pw user del daapd pw: no such user `daapd' :( ________ From: Beni Brinckman To: Dánielisz László Cc: "freebsd-questions@freebsd.org" Sent: Sunday, November 25, 2012 2:11 PM Subject: Re: Music streaming to iPhone Install the firefly media server (in audio/*firefly-1696_8) *on your server and the simple daap client on you iphone ( https://itunes.apple.com/us/app/simple-daap-client/id369605270?mt=8). Connect your iphone to the ip-address of the server and you're done. I'm using it with a nas4free server and an ipod touch without any problems. Beni. 2012/11/25 Dánielisz László > Hi Everybody, > > I have all of my music on my BSD server at home, and I would like to > listen that music on my iPhone, when I'm home. > Any ideas? > > Thx! > Laszlo > ___ > 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" > -- Beni Brinckman. ___ 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" ___ 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" ___ 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: Music streaming to iPhone
Thank you for the idea! Tonight I tried to install firefly but I'm stuck with the following error: ===> Creating users and/or groups. Using existing group `daapd'. Creating user `daapd' with uid `337'. pw: user 'daapd' already exists *** Error code 74 And when if I try deleting daapd user: # pw user del daapd pw: no such user `daapd' :( ____ From: Beni Brinckman To: Dánielisz László Cc: "freebsd-questions@freebsd.org" Sent: Sunday, November 25, 2012 2:11 PM Subject: Re: Music streaming to iPhone Install the firefly media server (in audio/*firefly-1696_8) *on your server and the simple daap client on you iphone ( https://itunes.apple.com/us/app/simple-daap-client/id369605270?mt=8). Connect your iphone to the ip-address of the server and you're done. I'm using it with a nas4free server and an ipod touch without any problems. Beni. 2012/11/25 Dánielisz László > Hi Everybody, > > I have all of my music on my BSD server at home, and I would like to > listen that music on my iPhone, when I'm home. > Any ideas? > > Thx! > Laszlo > ___ > 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" > -- Beni Brinckman. ___ 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" ___ 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"
Music streaming to iPhone
Hi Everybody, I have all of my music on my BSD server at home, and I would like to listen that music on my iPhone, when I'm home. Any ideas? Thx! Laszlo ___ 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"
perl, rrdtool issue
Hi Guys, Yesterday I issued the following command which I regretted: portupgrade -CPy, and this little tool installed perl 5.12 while perl 5.10 was already on the system. Since then everything is messed up. Now I deleted perl 5.10 and reinstalled perl 5.10 and everything which depends on it and still have the following error: # portversion -v [Updating the pkgdb in /var/db/pkg ... - 626 packages found (-1 +0) (...) done] Stale dependency: bsdpan-RRDp-0.99.0 --> perl-5.10.1_7 -- manually run 'pkgdb -F' to fix, or specify -O to force. I tried pkgdb -F but it can't fix, also tried to delete rrdtool and reinstall, but still the same issue. I'm running 8.3-RELEASE-p3. Do you have any idea how to solve this issue? Thx! Laszlo ___ 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"
IP -> e-mail
Hi everybody, Let say my computer is connected to the internet with a cable modem and has a dynamic IP address via DHCP. This address is refreshed after every random days. I want to know the new address even when I'm not home. Like send an e-mail with the new IP, I already know how to do this, but how can I track the event when my computer receives the new IP? Any ideas or same issues? Thx! Laszlo ___ 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"
musicpd conf
Hi, Does any of you met the following problem using phpmp with musicpd: When I try to change the volume on the web interface I always get the following error: "ACK [5@0] {} unknown command "volume"", everything else is working great. Thank you! Laszlo ___ 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: nat problems
Problem solved, changed the mtu/mru in ppp.conf, now its working ;-) From: Dánielisz László To: "freebsd-questions@freebsd.org" Sent: Wed, October 13, 2010 8:20:36 AM Subject: nat problems Hi, I'm behind a freebsd - pf machine, I'd like to connect to a webpage, but it loads a bit and then it stops, I checked out the pf -s stat and it says: FIN_WAIT_2:ESTABLISHED and FIN_WAIT_2:FIN_WAIT_for the connection. Do you have any idea whats happening? Thank you! Laszlo ___ 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" ___ 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"
nat problems
Hi, I'm behind a freebsd - pf machine, I'd like to connect to a webpage, but it loads a bit and then it stops, I checked out the pf -s stat and it says: FIN_WAIT_2:ESTABLISHED and FIN_WAIT_2:FIN_WAIT_for the connection. Do you have any idea whats happening? Thank you! Laszlo ___ 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: vlc install problems
It seems to be that is working, thank you! From: Lowell Gilbert To: Dánielisz László Cc: freebsd-questions@freebsd.org; din...@freebsd.org Sent: Tue, October 12, 2010 11:22:06 PM Subject: Re: vlc install problems Dánielisz László writes: > I'm trying to install vlc player on my FreeBSD 8.1 and I always got the > following error: > gmake[3]: *** [gvloadimage_gd.lo] Error 1 > gmake[3]: Leaving directory > `/usr/ports/graphics/graphviz/work/graphviz-2.26.3/plugin/gd' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory > `/usr/ports/graphics/graphviz/work/graphviz-2.26.3/plugin' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.26.3' > gmake: *** [all] Error 2 > *** Error code 1 > > Stop in /usr/ports/graphics/graphviz. > *** Error code 1 > > Do you have any suggestion what should I try? > I want to mention that the ports tree is up to date. You don't go back far enough to show the actual error that kicks things out to the makefile, so all I can tell you is: it works fine for me, so make sure you "make clean" before trying to build graphviz. ___ 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"
vlc install problems
Hi, I'm trying to install vlc player on my FreeBSD 8.1 and I always got the following error: gmake[3]: *** [gvloadimage_gd.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.26.3/plugin/gd' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.26.3/plugin' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.26.3' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/graphics/graphviz. *** Error code 1 Do you have any suggestion what should I try? I want to mention that the ports tree is up to date. thank you! Laci ___ 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: migrate system disk
ok, solved! dd if=/dev/0 of=/dev/ad6 (new hdd) bs=512 count=1024 boot from old hdd newfs /dev/ad6s1a (new hdd) mc -> copy /old_hdd excluding /dev /proc /mnt /tmp boot new hdd From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Sat, October 9, 2010 11:34:18 AM Subject: Re: migrate system disk Okay, I give up! I try the whole thing like 20 times and still not working. I'm not able to boot from the new device, it always says: FreeBSD/i386 boot Default: 0: ad(0,a)/boot/kernel/kernel boot: No /boot/kernel/kernel Do you have any other idea? ps: Yes I set the bootflag in sysinstall -> fdisk and I do pressed 'w' to write the changes, it says is ok. ____ From: Edward To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Thu, September 23, 2010 3:37:42 AM Subject: Re: migrate system disk > I have an old HDD which should be replaced soon, actually that HDD stands as > my > > > system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 > from > the old disk to the new one? I've used to do this a lot for server hardware migration, moving from 1 server to another new server. This blog post recorded what I tried & did : http://scratching.psybermonkey.net/2010/01/freebsd-backup-and-restore-freebsd.html Check it out, Edward. ___ 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" ___ 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: migrate system disk
Okay, I give up! I try the whole thing like 20 times and still not working. I'm not able to boot from the new device, it always says: FreeBSD/i386 boot Default: 0: ad(0,a)/boot/kernel/kernel boot: No /boot/kernel/kernel Do you have any other idea? ps: Yes I set the bootflag in sysinstall -> fdisk and I do pressed 'w' to write the changes, it says is ok. From: Edward To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Thu, September 23, 2010 3:37:42 AM Subject: Re: migrate system disk > I have an old HDD which should be replaced soon, actually that HDD stands as > my > > system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 > from > the old disk to the new one? I've used to do this a lot for server hardware migration, moving from 1 server to another new server. This blog post recorded what I tried & did : http://scratching.psybermonkey.net/2010/01/freebsd-backup-and-restore-freebsd.html Check it out, Edward. ___ 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: migrate system disk <- thank you
Thank you everybody for your help! From: Matthias Apitz To: Edward Cc: Dánielisz László ; freebsd-questions@freebsd.org Sent: Thu, September 23, 2010 8:19:16 AM Subject: Re: migrate system disk El día Thursday, September 23, 2010 a las 09:37:42AM +0800, Edward escribió: > > > I have an old HDD which should be replaced soon, actually that HDD stands > > as >my > > > system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 >from > > > the old disk to the new one? > > I've used to do this a lot for server hardware migration, moving from 1 > server to another new server. This blog post recorded what I tried & did : >http://scratching.psybermonkey.net/2010/01/freebsd-backup-and-restore-freebsd.html >l I did an similar aproach, moving a complete system by dump/restore to another (virtual) hardware to get a 1:1 clone of my laptop. The steps are documented in detail here: http://www.unixarea.de/OS/moveFreeBSDintoVM.txt HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Solidarity with the zionistic pirates of Israel? Not in my name! ¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre! ___ 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" ___ 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: migrate system disk
I'm using UFS. Thank you! From: Polytropon To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Wed, September 22, 2010 6:06:46 PM Subject: Re: migrate system disk On Wed, 22 Sep 2010 08:06:13 -0700 (PDT), Dánielisz László wrote: > Hello, > > I have an old HDD which should be replaced soon, actually that HDD stands as > my > > system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 > from > the old disk to the new one? Are you running ZFS or UFS on that disk? If UFS, go with the classical way: use dump + restore. There's a very good example in the handbook. http://www.freebsd.org/doc/handbook/backup-basics.html Also look here: http://forums.freebsd.org/showthread.php?t=11680 Use a FreeBSD live system CD or DVD to prepare the target disk (install boot code, make slices and partitions); you can also use sysinstall to do that. Then go with dump + restore. You'll find more hints when searching the mailing list archive. If you're on ZFS, use ZFS's tools to export and re-import the pool, quite simple. -- 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"
migrate system disk
Hello, I have an old HDD which should be replaced soon, actually that HDD stands as my system disk, what is your suggesion, how should I migrate the FreeBSD 8.1 from the old disk to the new one? thank you! Laszlo ___ 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: CPU temp munin plugin
Actually I found that mbmon is quite great app. It just needed some cofigurations and now is working. Laci From: Rob Byrnes To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Thu, September 16, 2010 12:34:52 AM Subject: Re: CPU temp munin plugin 2010/9/15 Dánielisz László : > Hi, > > What plugin do you use in munin to get values of your CPU? There are several, and some have dependencies on other software - what cpu are you using? Rob ___ 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"
CPU temp munin plugin
Hi, What plugin do you use in munin to get values of your CPU? Thanks! Laszlo ___ 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"
FreeBSD Update
Hi! I noticed one little difference how to update my system on freebsd.org 1st: http://www.freebsd.org/doc/handbook/updating-freebsdupdate.html: it says to do an portupgrade -af after I issued freebsd-update install "# freebsd-update install Note: Depending on whether any libraries version numbers got bumped, there may only be two install phases instead of three. All third party software will now need to be rebuilt and re-installed. This is required as installed software may depend on libraries which have been removed during the upgrade process. The ports-mgmt/portupgrade command may be used to automate this process. The following commands may be used to begin this process: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Once this has completed, finish the upgrade process with a final call to freebsd-update. Issue the following command to tie up all loose ends in the upgrade process:" 2nd: http://www.freebsd.org/releases/8.1R/announce.html: it says that I only have to rebuild all third-party application if I've udpate from 7.3 or earlier. I think it might be good to mentions this in the handbook to. With all the respect, Laszlo Danielisz, Budapest, Hungary www.danielisz.eu___ 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: CNID DB vs afp
Thank you! Actually it was a the cnid failure, it wasn't running, now its ok :-) From: Peter Boosten To: freebsd-questions@freebsd.org Sent: Fri, September 10, 2010 1:25:28 PM Subject: Re: CNID DB vs afp On 10-9-2010 10:11, Dánielisz László wrote: > Hi, > > I having the following problem on my afpd share: "something wrong witht he > volume's CNID DB, using temporary CNIDB DB insted. Check server messages for > details. Switching to read-only mode". > I am using FreeBSD 8.0 for the afpd and OS-X 10.6.4, do you have any idea > what > to check? > try dbd -r /path/to/your/volume This will rebuild the DB. Also: check if cnid_metad is running. You might need cnid_metad_enable="yes" in your rc.conf -- http://www.boosten.org ___ 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" ___ 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"
CNID DB vs afp
Hi, I having the following problem on my afpd share: "something wrong witht he volume's CNID DB, using temporary CNIDB DB insted. Check server messages for details. Switching to read-only mode". I am using FreeBSD 8.0 for the afpd and OS-X 10.6.4, do you have any idea what to check? thx! László ___ 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: munin-node
Hi, Actually I cheked, and everything is like in the sample conf, exepting the allowed hosts which looks liek this: allow ^127\.0\.0\.1$ allow ^192\.168\.1\.1$ From: Sreekanth B To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Tue, August 17, 2010 6:44:17 PM Subject: Re: munin-node 2010/8/17 Dánielisz László hi, > >I just installed munin-node on my freebsd 8.0 and when I try to check if it >works it says the following: > > ># telnet localhost 4949 >Trying 127.0.0.1... >Connected to localhost. >Escape character is '^]'. ># munin node at localhost >fetch cpu ># Unknown service >. > >do you have any idea what may be the problem source? > >thank you! >Laszlo > > > > > may be you should edit /etc/munin/munin.conf -S ___ 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"
munin-node
hi, I just installed munin-node on my freebsd 8.0 and when I try to check if it works it says the following: # telnet localhost 4949 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. # munin node at localhost fetch cpu # Unknown service . do you have any idea what may be the problem source? thank you! Laszlo ___ 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"
monitoring
Hi, What program do you use monitoring your system? I used munin but after upgrading to 1.4 it stops working properly, I tried to fix bout with no success. Any idea? thank you! Laszlo ___ 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"
Fw: monitoring
Or, do you have idea how to completely reinstall munin? :-) Subject: monitoring Hi, What program do you use monitoring your system? I used munin but after upgrading to 1.4 it stops working properly, I tried to fix bout with no success. Any idea? thank you! Laszlo ___ 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: Question. Multi Boot
Actually you can find now some cheap HDDs so the safest way is to install BSD/Linux on a second one, but if you can't buy another HDD then backup all the important date and install BSD with bsd loader on your HDD, after making some free, unformatted space on it. From: "Kruppa, Peter Ulrich" To: Jorge Biquez Cc: freebsd-questions@freebsd.org Sent: Sun, April 18, 2010 6:50:04 PM Subject: Re: Question. Multi Boot Am 18.04.2010 18:10, schrieb Jorge Biquez: > Hello all. > I hope this question does not sound so stupid. I have read archives and do > gogled searches but would like , if possible, to hear comments based on > experience. > > I have a machine, pentium D 2.4mhz 2gb RAM, 160DD HD XP Pro. As I mentuioned > in other post I installed FreeBSD 7.3 under a virtual machine using vmware. > It works fine but seems it is too much for the machine since when I am > running it the machine is very slow. I have that FB installation running > without graphical interface since that's why I need then. > > Now I would like to have a graphical interface running to learn to use > eclipse and continue with my PHP/Mysql development learning. I know that if I > continue under VMware the windows machine will be even more slow so I decided > that I would have this machine running with a multi boot schema and choose > when to boot under FreeBSd, Windows and later with Linux (looking for a job > and in some companies asked me to have the basics of any distribution). The > most important is that I need to be able to continue having that actual > windows partition without loosing anything or changing anything. > > What do you think, based on experince, is the safest way to accomplish this? Since Windows isn't very cooperative with other operating systems, leave it where it is, buy a second hard disk and install FreeBSD (and Linux) on it. The FreeBSD bootmanager will be able to boot Windows but Windows will not boot any FreeBSD or Linux. Good Luck Uli. > Thanks in advance > > Jorge Biquez > > ___ > 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" > ___ 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" ___ 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: OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64
Hi, Did you tryed to uninstall OpenOffice and install the new one? László From: O. Hartmann To: freebsd-questions@freebsd.org; freebsd-po...@freebsd.org Sent: Tue, March 23, 2010 11:10:56 AM Subject: OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64 I have trouble building/upgrading OpenOffice 3.2 on a SMP box running FreeBSD 8.0-STABLE/amd64. Whenever I try to portmaster/portupgrade an existing installation of OpenOffice 3.1.1 the update ends up in the error below. On another box, also running FreeBSD 8.0-STABLE/amd64, but UP and much less memory (2GB, the first one comes with 8GB RAM) I get the same error. Any suggestions to fix this without deinstalling OpenOffice 3.1.1 (I need OO, so deinstallinmg a running verison is inappropriate)? Regards, Oliver [...] - SHL2FILTERFILE not set! - dummy file to keep the dependencies for later use. -- Making: ../unxfbsdx.pro/lib/libslideshowtestfx.so c++ -Wl,-z,combreloc -Wl,-z,origin -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -L../unxfbsdx.pro/lib -L../lib -L/usr/ports/editors/open ffice.org-3/work/OOO320_m12/solenv/unxfbsdx/lib -L/usr/ports/editors/openoffice.org-3/work/OOO320_m12/solver/320/unxfbsdx.pro/lib -L/usr/ports/e itors/openoffice.org-3/work/OOO320_m12/solenv/unxfbsdx/lib -L/usr/local/diablo-jdk1.6.0/lib -L/usr/local/diablo-jdk1.6.0/jre/lib/amd64 -L/usr/lo al/diablo-jdk1.6.0/jre/lib/amd64/server -L/usr/local/diablo-jdk1.6.0/jre/lib/amd64/native_threads -L/usr/local/lib ../unxfbsdx.pro/slo/slideshow est_dflt_version.o -o ../unxfbsdx.pro/lib/libslideshowtestfx.so ../unxfbsdx.pro/slo/barwipepolypolygon.o ../unxfbsdx.pro/slo/boxwipe.o ../unxfbs x.pro/slo/clippingfunctor.o ../unxfbsdx.pro/slo/combtransition.o ../unxfbsdx.pro/slo/fourboxwipe.o ../unxfbsdx.pro/slo/barndoorwipe.o ../unxfbsd .pro/slo/iriswipe.o ../unxfbsdx.pro/slo/veewipe.o ../unxfbsdx.pro/slo/ellipsewipe.o ../unxfbsdx.pro/slo/checkerboardwipe.o ../unxfbsdx.pro/slo/r ndomwipe.o ../unxfbsdx.pro/slo/waterfallwipe.o ../unxfbsdx.pro/slo/clockwipe.o ../unxfbsdx.pro/slo/fanwipe.o ../unxfbsdx.pro/slo/pinwheelwipe.o ./unxfbsdx.pro/slo/snakewipe.o ../unxfbsdx.pro/slo/spiralwipe.o ../unxfbsdx.pro/slo/sweepwipe.o ../unxfbsdx.pro/slo/figurewipe.o ../unxfbsdx.pro slo/doublediamondwipe.o ../unxfbsdx.pro/slo/zigzagwipe.o ../unxfbsdx.pro/slo/parametricpolypolygonfactory.o ../unxfbsdx.pro/slo/shapetransitionf ctory.o ../unxfbsdx.pro/slo/slidetransitionfactory.o ../unxfbsdx.pro/slo/transitionfactorytab.o ../unxfbsdx.pro/slo/transitiontools.o ../unxfbsd .pro/slo/slidechangebase.o ../unxfbsdx.pro/slo/activitybase.o ../unxfbsdx.pro/slo/activitiesfactory.o ../unxfbsdx.pro/slo/continuousactivitybase o ../unxfbsdx.pro/slo/continuouskeytimeactivitybase.o ../unxfbsdx.pro/slo/discreteactivitybase.o ../unxfbsdx.pro/slo/simplecontinuousactivitybas .o ../unxfbsdx.pro/slo/animationaudionode.o ../unxfbsdx.pro/slo/animationcommandnode.o ../unxfbsdx.pro/slo/animationbasenode.o ../unxfbsdx.pro/s o/animationcolornode.o ../unxfbsdx.pro/slo/animationnodefactory.o ../unxfbsdx.pro/slo/animationpathmotionnode.o ../unxfbsdx.pro/slo/animationset ode.o ../unxfbsdx.pro/slo/animationtransformnode.o ../unxfbsdx.pro/slo/animationtransitionfilternode.o ../unxfbsdx.pro/slo/basecontainernode.o . /unxfbsdx.pro/slo/basenode.o ../unxfbsdx.pro/slo/nodetools.o ../unxfbsdx.pro/slo/paralleltimecontainer.o ../unxfbsdx.pro/slo/propertyanimationno e.o ../unxfbsdx.pro/slo/sequentialtimecontainer.o ../unxfbsdx.pro/slo/generateevent.o ../unxfbsdx.pro/slo/appletshape.o ../unxfbsdx.pro/slo/back roundshape.o ../unxfbsdx.pro/slo/drawinglayeranimation.o ../unxfbsdx.pro/slo/drawshape.o ../unxfbsdx.pro/slo/drawshapesubsetting.o ../unxfbsdx.pro/slo/externalshapebase.o ../unxfbsdx.pro/slo/gdimtftools.o ../unxfbsdx.pro/slo/intrinsicanimationactivity.o ../unxfbsdx.pro/slo/mediashape.o ../unxfbsdx.pro/slo/shapeimporter.o ../unxfbsdx.pro/slo/viewappletshape.o ../unxfbsdx.pro/slo/viewbackgroundshape.o ../unxfbsdx.pro/slo/viewmediashape.o ../unxfbsdx.pro/slo/viewshape.o ../unxfbsdx.pro/slo/layer.o ../unxfbsdx.pro/slo/layermanager.o ../unxfbsdx.pro/slo/shapemanagerimpl.o ../unxfbsdx.pro/slo/slideanimations.o ../unxfbsdx.pro/slo/slideimpl.o ../unxfbsdx.pro/slo/userpaintoverlay.o ../unxfbsdx.pro/slo/activitiesqueue.o ../unxfbsdx.pro/slo/animatedsprite.o ../unxfbsdx.pro/slo/animationfactory.o ../unxfbsdx.pro/slo/attributemap.o ../unxfbsdx.pro/slo/color.o ../unxfbsdx.pro/slo/delayevent.o ../unxfbsdx.pro/slo/eventmultiplexer.o ../unxfbsdx.pro/slo/eventqueue.o ../unxfbsdx.pro/slo/expressionnodefactory.o ../unxfbsdx.pro/slo/rehearsetimingsactivity.o ../unxfbsdx.pro/slo/screenupdater.o ../unxfbsdx.pro/slo/shapeattributelayer.o ../unxfbsdx.pro/slo/shapesubset.o ../unxfbsdx.pro/slo/slidebitmap.o ../unxfbsdx.pro/slo/slideshowcontext.o ../unxfbsdx.pro/slo/slideshowimpl.o ../unx
Re: multimon.cgi
Great, you done that before! It helps but I still don't know where can I found the *.cgi files so I can copy them to the proper apache directory, do you know? From: Robert Huff To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Thu, March 11, 2010 3:57:38 PM Subject: multimon.cgi =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= writes: > I'm planning to buy an APC UPS becasue FreeBSD have a nice apcupsd > daemon so I can control my system. Okay, but the thing is that > apcupsd have a web interface for it, the main file is called > multinom.cgi, I read the manual > (http://www.apcupsd.com/manual/manual.html) but I seen no reference > for FreeBSD. Did any of you do this before? How? huff@>> dir /usr/local/www/apache22/cgi-bin/apcupsd/ total 274 drwxr-xr-x 2 root wheel512 Jan 13 08:31 . drwxrwxr-x 3 root wheel512 Jan 13 08:31 .. lrwxr-xr-x 1 root wheel 7 Sep 7 2009 apcupsd -> apcupsd -rwxr-xr-x 1 root wheel 73067 Jan 13 08:31 multimon.cgi -rwxr-xr-x 1 root wheel 59369 Jan 13 08:31 upsfstats.cgi -rwxr-xr-x 1 root wheel 70677 Jan 13 08:31 upsimage.cgi -rwxr-xr-x 1 root wheel 69664 Jan 13 08:31 upsstats.cgi This help? Robert Huff ___ 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" ___ 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"
multimon.cgi
hi, I'm planning to buy an APC UPS becasue FreeBSD have a nice apcupsd daemon so I can control my system. Okay, but the thing is that apcupsd have a web interface for it, the main file is called multinom.cig, I read the manual (http://www.apcupsd.com/manual/manual.html) but I seen no reference for FreeBSD. Did any of you do this before? How? Thanks! László ___ 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: for vpn connection
hi, i'm going with pptp but still can't manage it to work, in case i'll then i'll let you know :-) On 2010.02.08., at 21:36, Yavuz Maşlak wrote: I use freebsd7.2 I have an iphone. I wish to establish a vpn connection between the iphone and my freebsd server as client to server. What sort of softwares shall I use for it ? Could you give me an example? any advances? 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" ___ 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: for vpn connection
hi, i also choose poptop and pptp but i'm still getting errors while connecting, would you be so kind to send me some configuration files? lászló On 2010.02.09., at 4:40, Bill Campbell wrote: On Mon, Feb 08, 2010, Yavuz Ma?lak wrote: I use freebsd7.2 I have an iphone. I wish to establish a vpn connection between the iphone and my freebsd server as client to server. What sort of softwares shall I use for it ? I just went through this for Linux/iPhone last week. The easiest for the iPhone is probably PPTP. One *nix side of this is poptop. I don't know what's required on freebsd. Bill -- INTERNET: b...@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Skype: jwccsllc (206) 855-5792 People who relieve others of their money with guns are called robbers. It does not alter the immorality of the act when the income transfer is carried out by government. ___ 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" ___ 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"
afp+freebsd
Hi, Okay, I just met a wierd thing, I have a local fbsd server with afp running on it, it works great with user "A" but with user "B" i can not connect with Finder and gives me the error: "There are no shares available or you are not allowed to access them on the server" I checked the permissions for the user's home dir, they own their local dir, and also done a chown -R user_A:user_A home_dir Both of the users are on my local fbsd using the same parameters, do you have any idea why is user "B" not working? Thank you! László ___ 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: portupgrade
I resolve that problem, by the handbook I added 0 3 * * * root portsnap -I cron update && pkg_version -vIL= Now it works awesome! From: Warren Block To: b. f. Cc: freebsd-questions@FreeBSD.org; Dánielisz László Sent: Mon, February 8, 2010 9:03:39 PM Subject: Re: portupgrade On Mon, 8 Feb 2010, b. f. wrote: >> This can happen if the ports tree or index file is outdated. >> csup/portsnap, run pkgdb -Fu, and try it again. > > I think you meant 'portsdb -Fu'. The pkgtools often run 'pkgdb -u' > and 'pkgdb -aF' automatically, and a full-blown 'pkgdb -F' or 'pkgdb > -L' usually isn't required unless there is an error, although in most > cases it wouldn't do any harm. Doh, that's correct--portsdb. -Warren Block * Rapid City, South Dakota USA ___ 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: portupgrade
Szia Zsolt! Thank you everybody! Actually I use cvsup, and it is up to date, but now I give a try with portsnap. László From: Artifex Maximus To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Mon, February 8, 2010 10:34:53 AM Subject: Re: portupgrade Szia László! 2010/2/8 Dánielisz László > hi, > > do you have any idea why it is not upgrading: > > root# portversion -v|grep php > php5-5.2.12 > succeeds port (port has 5.2.10) > php5-pcre-5.2.12> succeeds port (port has 5.2.10) > php5-session-5.2.12 > succeeds port (port has 5.2.10) > php5-simplexml-5.2.12 > succeeds port (port has 5.2.10) > php5-spl-5.2.12 > succeeds port (port has 5.2.10) > php5-sqlite-5.2.12 > succeeds port (port has 5.2.10) > root# portupgrade -vr php5 > ---> Session started at: Mon, 08 Feb 2010 09:40:19 +0100 > ** None has been installed or upgraded. > ---> Session ended at: Mon, 08 Feb 2010 09:40:20 +0100 (consumed 00:00:01 > > Because installed version is higher than version in port tree (5.2.12 > 5.2.10). Have you upgraded your port tree before? Bye, Zsolt ___ 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" ___ 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"
portupgrade
hi, do you have any idea why it is not upgrading: root# portversion -v|grep php php5-5.2.12 > succeeds port (port has 5.2.10) php5-pcre-5.2.12> succeeds port (port has 5.2.10) php5-session-5.2.12 > succeeds port (port has 5.2.10) php5-simplexml-5.2.12 > succeeds port (port has 5.2.10) php5-spl-5.2.12 > succeeds port (port has 5.2.10) php5-sqlite-5.2.12 > succeeds port (port has 5.2.10) root# portupgrade -vr php5 ---> Session started at: Mon, 08 Feb 2010 09:40:19 +0100 ** None has been installed or upgraded. ---> Session ended at: Mon, 08 Feb 2010 09:40:20 +0100 (consumed 00:00:01 Thnak you! László ___ 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: portupgrade, batch mode?
I think you can try this: -y --yes Answer yes to all the questions. This option implies -v and negates -n . László On 2010.02.07., at 12:59, n dhert wrote: When using portupgrade, from time to time, there is a package that displays an options menu and waits for a interactive response (like hitting OK to accept the defaults and continue). Is there way to specify that portupgrade should always accept the defaults and not wait for user input? ___ 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" ___ 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"
iphone, freebsd, vpn
Hi, I'm looking forward how to connect from my iphone to my FreeBSD server using VPN, do you have any suggestions? Should I use, L2TP, PPTP or IPSec? Do you have any experience with it? Some details: my iphone always gets a new ip address from my GSM provider when I connect to the internet, my FreeBSD server connects to the internet using PPPoE connection with static IP and I want to reach it through the internet. Thank you! László ___ 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: burncd issue
Well, I fixed that too by adding the following lines to /boot/loader.conf: atapicam_load="YES" hw.ata.atapi_dma="1" DVD writing is in progress: 517341184/4689756160 (11.0%) @3.9x, remaining 14:14 RBU 100.0% UBU 53.1% 535756800/4689756160 (11.4%) @4.0x, remaining 14:05 RBU 100.0% UBU 65.3% 554205184/4689756160 (11.8%) @4.0x, remaining 14:03 RBU 100.0% UBU 81.6% 572227584/4689756160 (12.2%) @3.9x, remaining 13:54 RBU 100.0% UBU 81.6% 591822848/4689756160 (12.6%) @4.2x, remaining 13:43 RBU 100.0% UBU 36.7% If you don't want to reboot your machine you should do a kldload atapi László ________ From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Tue, February 2, 2010 10:30:13 PM Subject: Re: burncd issue It looks that I should recompile my kernel for using growisofs # growisofs -dvd-compat -speed=4 -Z /dev/acd0=pats-tts2.iso :-( unable to open64("pats-tts2.iso",O_RDONLY): No such file or directory # camcontrol devlist -v scbus-1 on xpt0 bus 0: <> at scbus-1 target -1 lun -1 (xpt0) Do you have any idea how can I avoid the recompilation? ________ From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Tue, February 2, 2010 10:10:32 PM Subject: Re: burncd issue It looks like I'm to tired today :-) I think installing dvd+rw-tools and cdrtools might fix the problem with growisofs, but I still don't know why burncd is not working. From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Tue, February 2, 2010 10:05:45 PM Subject: burncd issue hi, I found another problem :) I'm using burncd about a while but today I have the following error while trying to write a dvd: burncd -f /dev/acd0 data pats-tt2.iso fixate next writeable LBA 2352 writing from file pats-tt2.iso size 4579840 KB written this track 1568 KB (0%) total 1568 KB burncd: write_file: Device busy Then I tryed growisofs, but it says #growisofs growisofs: Command not found. # whereis growisofs growisofs: Do you have any idea how to fix this? Thank you! ___ 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" ___ 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" ___ 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" ___ 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: burncd issue
It looks that I should recompile my kernel for using growisofs # growisofs -dvd-compat -speed=4 -Z /dev/acd0=pats-tts2.iso :-( unable to open64("pats-tts2.iso",O_RDONLY): No such file or directory # camcontrol devlist -v scbus-1 on xpt0 bus 0: <> at scbus-1 target -1 lun -1 (xpt0) Do you have any idea how can I avoid the recompilation? ____ From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Tue, February 2, 2010 10:10:32 PM Subject: Re: burncd issue It looks like I'm to tired today :-) I think installing dvd+rw-tools and cdrtools might fix the problem with growisofs, but I still don't know why burncd is not working. ________ From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Tue, February 2, 2010 10:05:45 PM Subject: burncd issue hi, I found another problem :) I'm using burncd about a while but today I have the following error while trying to write a dvd: burncd -f /dev/acd0 data pats-tt2.iso fixate next writeable LBA 2352 writing from file pats-tt2.iso size 4579840 KB written this track 1568 KB (0%) total 1568 KB burncd: write_file: Device busy Then I tryed growisofs, but it says #growisofs growisofs: Command not found. # whereis growisofs growisofs: Do you have any idea how to fix this? Thank you! ___ 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" ___ 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" ___ 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: .zshrc
Great, it is working! From: Ed Jobs To: freebsd-questions@freebsd.org Sent: Tue, February 2, 2010 10:13:29 PM Subject: Re: .zshrc On Tuesday 02 of February 2010 22:59, Dánielisz László wrote: > alias vi vim use: alias vi="vim" -- Real programmers don't document. If it was hard to write, it should be hard to understand. ___ 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: burncd issue
It looks like I'm to tired today :-) I think installing dvd+rw-tools and cdrtools might fix the problem with growisofs, but I still don't know why burncd is not working. ____ From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Tue, February 2, 2010 10:05:45 PM Subject: burncd issue hi, I found another problem :) I'm using burncd about a while but today I have the following error while trying to write a dvd: burncd -f /dev/acd0 data pats-tt2.iso fixate next writeable LBA 2352 writing from file pats-tt2.iso size 4579840 KB written this track 1568 KB (0%) total 1568 KB burncd: write_file: Device busy Then I tryed growisofs, but it says #growisofs growisofs: Command not found. # whereis growisofs growisofs: Do you have any idea how to fix this? Thank you! ___ 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" ___ 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"
burncd issue
hi, I found another problem :) I'm using burncd about a while but today I have the following error while trying to write a dvd: burncd -f /dev/acd0 data pats-tt2.iso fixate next writeable LBA 2352 writing from file pats-tt2.iso size 4579840 KB written this track 1568 KB (0%) total 1568 KB burncd: write_file: Device busy Then I tryed growisofs, but it says #growisofs growisofs: Command not found. # whereis growisofs growisofs: Do you have any idea how to fix this? Thank you! ___ 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: .zshrc
Sure, here it is: % cat .zshrc # Lines configured by zsh-newuser-install HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=1 setopt appendhistory bindkey -e alias vi vim # End of lines configured by zsh-newuser-install Actually I made a new one for my local user. From: Polytropon To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Tue, February 2, 2010 9:04:25 PM Subject: Re: .zshrc On Tue, 2 Feb 2010 11:49:30 -0800 (PST), Dánielisz László wrote: > Thanks for everybody the advices, I changed my mind and > I want to apply zsh only for local user, tryed the .zshrc > but still not working. Can you post the current content of the user's .zshrc? Have you made sure that permissions are correct (if you have "recycled" the .zshrc for / from root)? -- 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" ___ 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: .zshrc
Thanks for everybody the advices, I changed my mind and I want to apply zsh only for local user, tryed the .zshrc but still not working. From: Ed Jobs To: freebsd-questions@freebsd.org Sent: Tue, February 2, 2010 8:33:07 PM Subject: Re: .zshrc On Tuesday 02 of February 2010 20:41, Polytropon wrote: > I've taken your .zshrc content and installed zsh, but > whenever I started it, "echo $SHELL" tells me it is > /bin/csh... so I'm much more clueless now... :-) the $SHELL variable does not change when you run a subshell. but the shell is launching. take for example: if you run `sh` under a csh login shell, echo $SHELL reports /bin/csh, even tho you are running sh. > Furthermore, I think the syntax is wrong. You have to > use the format > > alias name='command -opt1 -opt2' correct > And I think - but that's a wild guess! - that the syntax > for your export commands should be different, too, such > as > > HISTFILE=~/.zsh_history > HISTSIZE=5 > SAVEHIST=5 correct again -- Real programmers don't document. If it was hard to write, it should be hard to understand. ___ 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"
.zshrc
hi, I am new in this and I have a question about it: I done my .zshrc but the zsh is not loading the configuration from it. There are the details: # cat .zshrc export HISTFILE=~/.zsh_history export HISTSIZE=5 export SAVEHIST=5 alias hhistory 25 alias jjobs -l alias lals -a alias lfls -FA alias llls -lA alias pfdebugtcpdump -n -e -ttt -i pflog0 alias mtusb mount_msdosfs /dev/da0s1 /mnt/usb0 alias mtcdmount_cd9660 /dev/acd0 /mnt/acd0/ # A righteous umask umask 22 .. -rw-r--r-- 1 root wheel328 Feb 2 18:52 .zshrc . the file can be found in /root/.zshrc Do you have any idea why is not working? Thank you! László ___ 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: pf rules
hi kalin, my question is: are you telnet-ing to/from/through this machine with the specified pf rules? From: kalin m To: freebsd-questions@freebsd.org Sent: Fri, January 22, 2010 8:12:00 AM Subject: pf rules hi all... doing testing with pf... how is it possible that if i have these rules below in pf.conf if i do: telnet that.host.org 25 i get: Trying xx.xx.xx.xx... Connected to that.host.org. Escape character is '^]'. ... etc ... pf.conf contetns: tcp_in = "{ www, https }" ftp_in = "{ ftp }" udp = "{ domain, ntp }" ping = "echoreq" set skip on lo scrub in antispoof for eth0 inet block in all pass out all keep state pass proto udp to any port $udp pass inet proto icmp all icmp-type $ping keep state pass in inet proto tcp to any port $tcp_in flags S/SAF synproxy state pass proto tcp to any port ssh 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" ___ 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: afp+pf
I'm tring to send the packages throught he firewall, at least I think that Apple Finder tries to do this, the only packages I see while tcpdump-ing the pflog are those line I posted above. From: Michael K. Smith - Adhost To: Dánielisz László ; freebsd-questions@freebsd.org Sent: Wed, December 23, 2009 7:35:00 PM Subject: RE: afp+pf Hello Danielisz: > > I'm sending you my pflog captured whiled I try to connect, maybe > somebody will figure out something: > > > # tcpdump -i rl0 -n port 548 > tcpdump: verbose output suppressed, use -v or -vv for full protocol > decode > listening on rl0, link-type EN10MB (Ethernet), capture size 96 bytes > > 19:01:31.353245 IP 192.168.1.101.63912 > 192.168.1.1.548: Flags [S], > seq 721406618, win 65535, options [mss 1460,nop,wscale 3,nop,nop,TS val > 206874734 ecr 0,sackOK,eol], length 0 > 19:01:35.358575 IP 192.168.1.101.63912 > 192.168.1.1.548: Flags [S], > seq 721406618, win 65535, options [mss 1460,sackOK,eol], length 0 > Is your firewall acting as an Appletalk router? I guess I'm not understanding why you are sending AFP to the firewall and not through the firewall from host to host. When you log your block statement and tcpdump the pflog0 interface, are you seeing the blocks? Regards, Mike ___ 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: afp+pf
I'm sending you my pflog captured whiled I try to connect, maybe somebody will figure out something: # tcpdump -i rl0 -n port 548 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on rl0, link-type EN10MB (Ethernet), capture size 96 bytes 19:01:31.353245 IP 192.168.1.101.63912 > 192.168.1.1.548: Flags [S], seq 721406618, win 65535, options [mss 1460,nop,wscale 3,nop,nop,TS val 206874734 ecr 0,sackOK,eol], length 0 19:01:35.358575 IP 192.168.1.101.63912 > 192.168.1.1.548: Flags [S], seq 721406618, win 65535, options [mss 1460,sackOK,eol], length 0 From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Wed, December 23, 2009 6:35:02 PM Subject: Re: afp+pf I just tried with "flags any" but still not working. ____ From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Wed, December 23, 2009 5:01:41 PM Subject: afp+pf Hello, It's been a while I struggeling how to deal with apf/netatalk passing trough my pf rules. If I disable pf everything is working great (but I still do want firewall on my server). I tried the following rule but it still don't lets me in: pass in log on $int_if inet proto { tcp, udp } from $localnet to ($int_if) port=548 flags S/SA keep state When I try a telnet on port 548 I got "Operation timed out", in pflog I can see that my Mac tries to connect but I have no clue why it can't when the coresponding port is open, do you have any idea? Thank you! Laci ___ 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: afp+pf
I just tried with "flags any" but still not working. ____ From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Wed, December 23, 2009 5:01:41 PM Subject: afp+pf Hello, It's been a while I struggeling how to deal with apf/netatalk passing trough my pf rules. If I disable pf everything is working great (but I still do want firewall on my server). I tried the following rule but it still don't lets me in: pass in log on $int_if inet proto { tcp, udp } from $localnet to ($int_if) port=548 flags S/SA keep state When I try a telnet on port 548 I got "Operation timed out", in pflog I can see that my Mac tries to connect but I have no clue why it can't when the coresponding port is open, do you have any idea? Thank you! Laci ___ 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" ___ 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"
afp+pf
Hello, It's been a while I struggeling how to deal with apf/netatalk passing trough my pf rules. If I disable pf everything is working great (but I still do want firewall on my server). I tried the following rule but it still don't lets me in: pass in log on $int_if inet proto { tcp, udp } from $localnet to ($int_if) port=548 flags S/SA keep state When I try a telnet on port 548 I got "Operation timed out", in pflog I can see that my Mac tries to connect but I have no clue why it can't when the coresponding port is open, do you have any idea? Thank you! Laci ___ 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"
fsck fat32 fs
Hi, Do you have any idea how to run fsck to a FAT32 fs, I tried fsck_msdosfs but it seems that is not for FAT32, I always get the following: root# fsck_msdosfs -y /dev/da0s1 ** /dev/da0s1 backup doesn't compare to primary bootblock Thank you! László ___ 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"
bash script question
Hello, I'd like to ask how can I read a variable in the same line when I launch a script? For example "./script.sh directory_name", and I want the script to creat the directory called "directory_name" or whatever I input there. Thank you! László ___ 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: bash script question
I just find out: #!/usr/local/bin/bash export IFS=" " cuc=$* mkdir "cuc" Thanks anyway! László ________ From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Tue, December 1, 2009 8:37:04 PM Subject: bash script question Hello, I'd like to ask how can I read a variable in the same line when I launch a script? For example "./script.sh directory_name", and I want the script to creat the directory called "directory_name" or whatever I input there. Thank you! László ___ 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: hdd voltage
Hello, Indeed, my CPU: Intel(R) Celeron(R) CPU 2.53GHz (2530.04-MHz 686-class CPU) and 1GB of RAM, the fs used on both of the hard drives is ufs2. Now my machine is up 'till yesterday and everything is working fine. From: TJ Varghese To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Wed, November 18, 2009 7:52:57 AM Subject: Re: hdd voltage 2009/11/18 Dánielisz László : > Hello, > > My computer get starts to reboot all the time I do a higher hdd use (like: > fsck, copying more GB of data). I was sure that my power supply its not > enough so I changed it (300W->450W), now it does the same. I'm looking for a > tool to measure the exactly power consumiton (voltage and amper) of my hdd, > cpu and ram on FreeBSD. > Do you have any idea? > > Thank you! > László > You don't mention details on mobo/ram, but if you have >4gb ram on amd64, you might want to try reducing ram to <=4gb. I had one mobo (Intel DG965RYCK) that was exhibited odd behaviour with more than 4gb ram installed. Simple file copies (on ZFS), buildworlds etc caused various panics or outright hangs (!). Usually this would be a clear indication of faulty RAM, but it passed all memtests. Changed everything (ram, psu, hdd, cables, RMA'd the mobo), no difference. Turned out to be a BIOS bug, some linux list had discussions on the same bug. ___ 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: hdd voltage
Thank you very much! I just got a tip, it's called munin. From: Roland Smith To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Tue, November 17, 2009 9:34:12 PM Subject: Re: hdd voltage On Tue, Nov 17, 2009 at 12:14:10PM -0800, Dánielisz László wrote: > Roland, > > I installed mbmon, it looks like its a great application, but I have a > question, I google it and I > found no answers yet. > With mbmon -r what values do you get? I figured out some but the rest I > have no idea for what stands for. This is what I get: mbmon -A -d Summary of Detection: * ISA monitor(s): ** Winbond Chip W83627HF/THF/THF-A found. mbmon -I -r -c1 TEMP0 : 33.0 TEMP1 : 39.0 TEMP2 : 22.0 FAN0 : 1687 FAN1 : 1350 FAN2 :0 VC0 : +2.48 VC1 : +3.65 V33 : +3.26 V50P : +5.48 V12P : +10.09 V12N : +1.05 V50N : +0.33 The meaning of the tags is explained in /usr/local/share/doc/mbmon/ReadMe I'm not sure as to how reliable this info is. E.g. My negative voltages are _way_ off and the +12V doesn't look too well, but the system runs OK. The CPU temperature (TEMP1) is much lower than the on-die temperatures that coretemp reports but that could just be because the sensor from the winbond chip is in another place. And as I said earlier, chips like the Winbond only update their values once every second. So you cannot use them to monitor fast changes. 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) ___ 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: hdd voltage
Roland, I installed mbmon, it looks like its a great application, but I have a question, I google it and I found no answers yet. With mbmon -r what values do you get? I figured out some but the rest I have no idea for what stands for. # mbmon -r TEMP0 : 42.0 TEMP1 : 67.0 TEMP2 : 67.0 FAN0 :0 FAN1 : 2410 FAN2 :0 VC0 : +1.36 VC1 : +1.42 V33 : +3.39 V50P : +5.11 V12P : +12.04 V12N : +1.46 V50N : +2.29 From: Roland Smith To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Tue, November 17, 2009 8:42:18 PM Subject: Re: hdd voltage On Tue, Nov 17, 2009 at 09:43:04AM -0800, Dánielisz László wrote: > Hello, > > My computer get starts to reboot all the time I do a higher hdd use (like: > fsck, copying more GB of data). I was sure that my power supply its not > enough so I changed it (300W->450W), now it does the same. I'm looking for a > tool to measure the exactly power consumiton (voltage and amper) of my hdd, > cpu and ram on FreeBSD. Do you have any idea? Tools like mbmon can show you the different voltages that the power supply produces. But current isn't measured in the different circuits, AFAIK. If you see a drop in voltage before a reboot that would be a clear sign of trouble. Unfortunately the chips that do the monitoring sometimes only provide new values once every second. That is probably not fast enough to detect a swift voltage drop. There are devices (e.g. kill-a-watt) available that you can plug between the power outlet and the PC that show you the total power consumption. See e.g. http://forum.ncix.com/forums/index.php?mode=showthread&forum=116&threadid=1659654&pagenumber=1&msgcount=18&subpage=1 The abovementioned link shows a decent system using between 118 and 205 Watt. So I'd be surprised if your 450 Watt powersupply wasn't sufficient. (unless you have one of those graphics cards that is covered in fans and heatsinks and that you could still use to fry an egg on.) But I agree that it looks like a hardware problem. Unfortunately there are multiple possible causes. Check to see if all the cabling and cards are securely connected. Monitor the temperatures that the on-board sensors report. Remove dust from heatsinks and fans. Check the electrolytic capacitors on the motherboard. If the metal "lid" is bulging, it's busted. 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) ___ 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: hdd voltage
Right now I'm done with almost 20GB download from the BSD machine to my laptop by ftp, and 5GB to the BSD from http, in the mean while I've done almost 40GB of torrentflux's checking existing data and I do a make install to a port, all in the same time and everything is working great. I hope it will continue to work just like this. The hdd temperatures are: # smartctl -A /dev/ad0 | grep Temp && smartctl -A /dev/ad4 | grep Temp 194 Temperature_Celsius 0x0022 095 081 000Old_age Always - 48 194 Temperature_Celsius 0x0022 107 102 000Old_age Always - 43 Roland, I have no connected any display to that machine. From: Roland Smith To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Tue, November 17, 2009 8:42:18 PM Subject: Re: hdd voltage On Tue, Nov 17, 2009 at 09:43:04AM -0800, Dánielisz László wrote: > Hello, > > My computer get starts to reboot all the time I do a higher hdd use (like: > fsck, copying more GB of data). I was sure that my power supply its not > enough so I changed it (300W->450W), now it does the same. I'm looking for a > tool to measure the exactly power consumiton (voltage and amper) of my hdd, > cpu and ram on FreeBSD. Do you have any idea? Tools like mbmon can show you the different voltages that the power supply produces. But current isn't measured in the different circuits, AFAIK. If you see a drop in voltage before a reboot that would be a clear sign of trouble. Unfortunately the chips that do the monitoring sometimes only provide new values once every second. That is probably not fast enough to detect a swift voltage drop. There are devices (e.g. kill-a-watt) available that you can plug between the power outlet and the PC that show you the total power consumption. See e.g. http://forum.ncix.com/forums/index.php?mode=showthread&forum=116&threadid=1659654&pagenumber=1&msgcount=18&subpage=1 The abovementioned link shows a decent system using between 118 and 205 Watt. So I'd be surprised if your 450 Watt powersupply wasn't sufficient. (unless you have one of those graphics cards that is covered in fans and heatsinks and that you could still use to fry an egg on.) But I agree that it looks like a hardware problem. Unfortunately there are multiple possible causes. Check to see if all the cabling and cards are securely connected. Monitor the temperatures that the on-board sensors report. Remove dust from heatsinks and fans. Check the electrolytic capacitors on the motherboard. If the metal "lid" is bulging, it's busted. 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) ___ 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: hdd voltage
Thank you guys for the interest you bring solving my issue! Actualy I noticed one thing for sure: I have to hdd-s in my PC, an 80GB Seagate ATA (the o.s. boot hdd) and one 1T Seagate SATA (only for storage), there were no problems when I used just the 80GB neither with the 1T, I noticed only that I'm getting thouse reboots when I start to copy about more than 4-5GB from the 1T hdd to my laptop (on ftp). Maybe the hdd was too warm after copying that amount of data? Oh...I'm drunk or something but I just noticed that my 1T was not unmounted properly last week and I was doing only fsck with the disk mounted so nothing was modified to the file system, now I've done an fsck -yf to the 1T (unmounted)...I got some blocks (about 300) reapaired. Maybe this produces the reboots, what do you think so? I also done now an smartctl -l scttemp /dev/ad4 and I got the following result: 862009-11-17 19:4045 ** 872009-11-17 19:4145 ** 882009-11-17 19:4246 *** 892009-11-17 19:4345 ** 902009-11-17 19:4445 ** 912009-11-17 19:4546 *** 922009-11-17 19:4645 ** 932009-11-17 19:4746 *** .....( 4 skipped)... *** 982009-11-17 19:5246 *** 992009-11-17 19:5347 49 Celsius was the top of the tempature for this hdd, I think its normal. Thank you, László From: Polytropon To: Bill Moran Cc: Dánielisz László ; freebsd-questions@freebsd.org Sent: Tue, November 17, 2009 7:37:00 PM Subject: Re: hdd voltage On Tue, 17 Nov 2009 13:27:20 -0500, Bill Moran wrote: > Not all power supplies are created equal. Unfortunately, there's > no government oversight on power supply ratings, thus a cheap 450W > power supply might go unstable if it has to supply 200W for very > long, whereas a good quality 200W power supply might be able to > put out 450W for short periods reliably. That's true. People want crap, they get crap. :-) > Additionally, are you sure your service power is good? Even the > best power supply will fail if you're not getting 120V/60H at the > outlet (or whatever voltage/freq you're supposed to get in your part > of the world). In Germany, we only get the purest power made of highest quality electrons, 230V 50Hz 24/7/365. :-) Note that I'm running this power supply for more than 7 years now - the SAME power supply. > Not a direct answer to your question, but hopefully some useful > information to consider. That's right. If you have the chance, monitor your power outlet, e. g. with a long term peak monitor or a scope with battery backed up memory, just to make sure the requirements of the PSU are met. -- 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"
hdd voltage
Hello, My computer get starts to reboot all the time I do a higher hdd use (like: fsck, copying more GB of data). I was sure that my power supply its not enough so I changed it (300W->450W), now it does the same. I'm looking for a tool to measure the exactly power consumiton (voltage and amper) of my hdd, cpu and ram on FreeBSD. Do you have any idea? Thank you! László ___ 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: pppoe related
Thank you! Found out! From: Andreas Rudisch To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Tue, November 10, 2009 4:04:27 PM Subject: Re: pppoe related On Tue, 10 Nov 2009 06:52:22 -0800 (PST) Dánielisz László wrote: > What do you use to keep alive your FreeBSD pppoe connection client even if > there is no traffic? What do you set to reconnect the pppoe client > automaticaly on any disconnection? man ppp -ddial Andreas -- GnuPG key : 0x2A573565|http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 ___ 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"
pppoe related
Hi, What do you use to keep alive your FreeBSD pppoe connection client even if there is no traffic? What do you set to reconnect the pppoe client automaticaly on any disconnection? Thank you! László ___ 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: dhcpd related issue <- solved
One of my friend brings the solution, it was reinstalling ports/net/isc-dhcp31-server instead of ports/net/isc-dhcp30-server. Now everything work fine! $ sudo dhcping -v -h 00:23:6c:86:41:e3 -s 192.168.1.1 Got answer from: 192.168.1.1 # tcpdump -i rl1 -n port 67 or port 68 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes 20:54:15.403871 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:6c:86:41:e3, length 250 20:54:15.404320 IP 192.168.1.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 300 20:54:15.409016 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:6c:86:41:e3, length 244 20:55:19.960973 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 20:55:19.963275 IP 192.168.1.1.67 > 192.168.1.202.68: BOOTP/DHCP, Reply, length 300 20:57:49.958270 IP 192.168.1.202.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 20:57:49.960509 IP 192.168.1.1.67 > 192.168.1.202.68: BOOTP/DHCP, Reply, length 300 Thanks for all of you to your help! Laci ____ From: Dánielisz László To: Tim Judd Cc: freebsd-questions@freebsd.org Sent: Mon, November 2, 2009 8:49:15 PM Subject: Re: dhcpd related issue - not giving up Thank you for your advice, I tried to restart dhcpd a few times and I also tried about 10+ dhcpd.conf-s. Right now it's reinstalling the port. ____ From: Tim Judd To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Mon, November 2, 2009 5:16:58 PM Subject: Re: dhcpd related issue - not giving up On 11/2/09, Dánielisz László wrote: > I tried about 10 conf, here is the actual one: > > # cat /usr/local/etc/dhcpd.conf > authoritative; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > option routers 192.168.1.1; > > > pool { >option domain-name-servers cns01.hdsnet.hu; >max-lease-time 300; >range 192.168.1.200 192.168.1.253; >allow unknown-clients; > } > } It looks awkward... I don't recall ever seeing a pool inside a subnet declaration like this. A subnet declaration can use all the declaration in your pool. Pure curiousity, because I am not looking up the config syntax.. comment out (or delete) the pool { and } lines only. which bring the statements to the subnet clause. restart dhcpd, and retry IIRC, pools are only useful if you have two pool definitions. thanks... hope this works. ___ 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: dhcpd related issue - not giving up
Thank you for your advice, I tried to restart dhcpd a few times and I also tried about 10+ dhcpd.conf-s. Right now it's reinstalling the port. From: Tim Judd To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Mon, November 2, 2009 5:16:58 PM Subject: Re: dhcpd related issue - not giving up On 11/2/09, Dánielisz László wrote: > I tried about 10 conf, here is the actual one: > > # cat /usr/local/etc/dhcpd.conf > authoritative; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > option routers 192.168.1.1; > > > pool { >option domain-name-servers cns01.hdsnet.hu; >max-lease-time 300; >range 192.168.1.200 192.168.1.253; >allow unknown-clients; > } > } It looks awkward... I don't recall ever seeing a pool inside a subnet declaration like this. A subnet declaration can use all the declaration in your pool. Pure curiousity, because I am not looking up the config syntax.. comment out (or delete) the pool { and } lines only. which bring the statements to the subnet clause. restart dhcpd, and retry IIRC, pools are only useful if you have two pool definitions. thanks... hope this works. ___ 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" ___ 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: dhcpd related issue - not giving up
I tried about 10 conf, here is the actual one: # cat /usr/local/etc/dhcpd.conf authoritative; ddns-update-style none; subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.1; pool { option domain-name-servers cns01.hdsnet.hu; max-lease-time 300; range 192.168.1.200 192.168.1.253; allow unknown-clients; } } From: Tim Judd To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Mon, November 2, 2009 6:03:51 AM Subject: Re: dhcpd related issue - not giving up On 11/1/09, Dánielisz László wrote: > It's the only one on the network. Doesn't mean that it will answer. I saw your previous posts which has the authoritative declaration. Authoritative (from my experience) means that if a client had previously gotten an address, a non-authoritative server won't correct the client's lease. Think of a roaming laptop or a PDA with wifi. An authoritative server will say "No, that won't work", then the client will release any knowledge of the previous IP, and search for new dhcp servers. Since you weren't getting leases when your firewall was disabled, I would lean toward a misconfigured dhcpd.conf. I don't think I've seen in the same post: ifconfig rl1 cat /usr/local/etc/dhcpd.conf Please provide these. Thanks. > ________ > From: Tim Judd > To: Dánielisz László > Cc: freebsd-questions@freebsd.org > Sent: Sun, November 1, 2009 5:41:58 PM > Subject: Re: dhcpd related issue - not giving up > > > > is your dhcpd authoritative? > ___ > 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" > > > > ___ 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: dhcpd related issue - not giving up
Sorry, I misspell it, (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent [ethernet] <- actually this is my rl1 interface on BSD From: Liontaur To: freebsd-questions@freebsd.org Sent: Mon, November 2, 2009 3:24:10 AM Subject: Re: dhcpd related issue - not giving up 2009/11/1 Dánielisz László > I also though that maybe the rl NIC can be wrong, I will try another > branded NIC as soon as it will be possible, until than I looked for arp an > socksat right after dhcp request, these are my results: > mac# $ dhcping -h 00:23:32:dc:72:19 -s 192.168.1.1 > no answer > > bsd# tcpdump -i rl1 -n port 67 or port 68 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes > 19:14:38.604545 IP 192.168.1.234.68 > 192.168.1.1.67: BOOTP/DHCP, Request > from 00:23:32:dc:72:19, length 250 > 19:24:06.600131 IP 192.168.1.234.68 > 192.168.1.1.67: BOOTP/DHCP, Request > from 00:23:32:dc:72:19, length 250 > > bsd# arp -a > ? (192.168.1.234) at 00:23:6c:86:41:d9 on rl1 [ethernet] <- this is my > MacBook > ? (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent [ethernet] <- this is > the layer 3 switch > So your switch and your rl1 interface have the same IP? That can't be good, can't see why it would affect things when the switch isn't in action though. # sockstat -4l | grep dhcp > dhcpddhcpd 4747 7 udp4 *:67 *:* > > mac# arp -a > .pool.hdsnet.hu () at 4a:55:88:7c:44:4f on tap0 > ifscope [ethernet] > bsd (192.168.1.1) at 0:13:8f:86:2f:64 on en1 ifscope [ethernet] > > > > ___ > 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" > ___ 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" ___ 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: dhcpd related issue - not giving up
I also though that maybe the rl NIC can be wrong, I will try another branded NIC as soon as it will be possible, until than I looked for arp an socksat right after dhcp request, these are my results: mac# $ dhcping -h 00:23:32:dc:72:19 -s 192.168.1.1 no answer bsd# tcpdump -i rl1 -n port 67 or port 68 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes 19:14:38.604545 IP 192.168.1.234.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:32:dc:72:19, length 250 19:24:06.600131 IP 192.168.1.234.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:23:32:dc:72:19, length 250 bsd# arp -a ? (192.168.1.234) at 00:23:6c:86:41:d9 on rl1 [ethernet] <- this is my MacBook ? (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent [ethernet] <- this is the layer 3 switch # sockstat -4l | grep dhcp dhcpddhcpd 4747 7 udp4 *:67 *:* mac# arp -a .pool.hdsnet.hu () at 4a:55:88:7c:44:4f on tap0 ifscope [ethernet] bsd (192.168.1.1) at 0:13:8f:86:2f:64 on en1 ifscope [ethernet] From: Michael Powell To: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 6:29:04 PM Subject: Re: dhcpd related issue - not giving up Dánielisz László wrote: > I don't give it up, doing some tcpdump on my BSD I can see the dhcp > request reaches the machine, the dhcpd is running, but why doesn't gives > any IP? > > # tcpdump -i rl1 -n port 67 or port 68 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes > 11:51:43.086597 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request > from 00:24:03:f1:bd:36, length 300 11:51:45.102260 IP 0.0.0.0.68 > > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 [snip] I only have a couple if ideas. First, is it possible to substitute some other non rl or re NIC for rl1? I seem to recall something about these cards having some sort of problem like this. This test would eliminate that idea. Also, right after a client machine requests a lease examine your arp tables on both machines. Maybe the dhcpd server is confused and sending the reply out the wrong interface? sockstat -4l can confirm which/what interface dhcpd is listening on, compare with arp results. Theoretically if dhcpd is bound to and listening on rl1 there shouldn't be any replies going out rl0. Check to eliminate. Wrt to a managed switch blocking ports, I think you probably ruled this out by connecting the machines to each other. Note that for GigE, or NICs that do MDI-X properly any cable will work. However, on many older 100baseTX cards this would need to be using a crossover cable to function correctly. You can also broaden your tcpdump to include arp traffic. When the output files become cumbersome to examine it's easier to look at them in Wireshark. I have a hunch if rl1 could be replaced with some old fxp or sk card lying around it might work. YMMV -Mike ___ 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" ___ 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: dhcpd related issue - not giving up
It's the only one on the network. From: Tim Judd To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 5:41:58 PM Subject: Re: dhcpd related issue - not giving up is your dhcpd authoritative? ___ 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" ___ 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: dhcpd related issue - not giving up
Right now I'm using a layer 3 switch but I also tried with direct UTP connection between BSD-s rl1 port and MacBook's en0 port and I experience the same. From: krad To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 1:39:13 PM Subject: Re: dhcpd related issue - not giving up 2009/11/1 Dánielisz László Well, it says: > >rl1: flags=8943 metric 0 mtu >1500 >options=8 >>ether 00:13:8f:86:2f:64 >inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 >media: Ethernet autoselect (100baseTX ) >status: active > > > > ________ From: krad > >To: Dánielisz László > >Cc: freebsd-questions@freebsd.org >Sent: Sun, November 1, 2009 12:09:30 PM >Subject: Re: dhcpd related issue - not giving up > > > > > >2009/11/1 Dánielisz László > >>> >>I don't give it up, doing some tcpdump on my BSD I can see the dhcp request >>reaches the machine, the dhcpd is running, but why doesn't gives any IP? >> >>>># tcpdump -i rl1 -n port 67 or port 68 >>>>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode >>>>listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes >>>>11:51:43.086597 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >>>>from 00:24:03:f1:bd:36, length 300 >>>>11:51:45.102260 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >>>>from 00:24:03:f1:bd:36, length 300 >>>>11:51:49.114960 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >>>>from 00:24:03:f1:bd:36, length 300 >>>>11:51:57.150734 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >>>>from 00:24:03:f1:bd:36, length 300 >>>>11:51:59.157311 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >>>>from 00:24:03:f1:bd:36, length 300 >>>>11:52:03.160029 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >>>>from 00:24:03:f1:bd:36, length 300 >>>>11:57:09.770520 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >>>>from 00:23:6c:86:41:d9, length 300 >>>>11:57:11.941379 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >>>>from 00:23:6c:86:41:d9, length 300 >>>>11:57:14.928398 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >>>>from 00:23:6c:86:41:d9, length 300 >>>>11:57:16.378911 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >>>>from 00:23:6c:86:41:d9, length 300 >>>>11:57:17.703219 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >>>>from 00:23:6c:86:41:d9, length 300 >>>>11:57:18.839763 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request >>>>from 00:23:6c:86:41:d9, length 300 >> >> >> >> >> >> >>>> >>>>From: Dánielisz László >>>>To: freebsd-questions@freebsd.org >>>>Sent: Sun, November 1, 2009 11:06:36 AM >>>>Subject: Re: dhcpd related issue >> >>>>I had one more idea: try nmap on my dhcp server, and port 67 does not seems >>>>to be opened, after I tried telneting in and my connection was refused: >> >>>>$ telnet 192.168.1.1 67 >>>>Trying 192.168.1.1... >>>>telnet: connect to address 192.168.1.1: Connection refused >>>>telnet: Unable to connect to remote host >> >>>>Than I disabled pf >>>># pfctl -d >>>>No ALTQ support in kernel >>>>ALTQ related functions disabled >>>>pf disabled >> >>>>Than I checked telnet/nmap again but still don't found any 67 port ever >>>>there. I checked again that the dhcpd is running, and its up: >>>># ps ax|grep dhcp >>>> 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf >>>> /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease >> >>>>Any idea? >> >> >> >> >>>> >>>>From: Dánielisz László >>>>To: patrick >>>>Cc: freebsd-questions@freebsd.org >>>>Sent: Sun, November 1, 2009 8:34:03 AM >>>>Subject: Re: dhcpd related issue >> >>>>It's the same, I still don't got any IP address. >> >> >> >> >>>> >>>>From: patrick >>>>To: Dánielisz László >>>>Cc: freebsd-questions@freebsd.org >>>>Sent:
Re: dhcpd related issue
Thank you Trond! True and I'll implement this to my pf.conf just first I want to make work this dhcpd :-) From: Trond Endrestøl To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 12:48:45 PM Subject: Re: dhcpd related issue -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 1 Nov 2009 12:30+0100, Trond Endrestøl wrote: > On Sun, 1 Nov 2009 02:06-0800, Dánielisz László wrote: > > > I had one more idea: try nmap on my dhcp server, and port 67 does > > not seems to be opened, after I tried telneting in and my connection > > was refused: > > > > $ telnet 192.168.1.1 67 > > Trying 192.168.1.1... > > telnet: connect to address 192.168.1.1: Connection refused > > telnet: Unable to connect to remote host > > DHCP uses UDP, telnet uses TCP, no wonder you're getting refused. > > Do you have bpf (Berkeley packet filter) compiled in the kernel? > dhcpd relies on bpf. Just a thought, although dhcpd would probably > shut down if bpf is unavailable. > > As others have suggested, please post the output from ifconfig rl1, > and from netstat -rnf inet. > > > Than I disabled pf > > # pfctl -d > > No ALTQ support in kernel > > ALTQ related functions disabled > > pf disabled > > Just another (silly) thought, does your pf setup allow UDP from > 192.168.1.1:67 to *:68 over the rl1 interface? Initially the DHCP client uses 0.0.0.0 as its IP address and broadcasts the DHCP requests to 255.255.255.255. I know you have disabled pf, but you should later allow the clients and dhcpd to send DHCP messages using the above addresses, i.e. dhcpd will broadcast back the offerings using its own IP-address as source (192.168.1.1 in your case) and the broadcast address 255.255.255.255 as destination. You should probably also allow for the use of 192.168.1.255 as broadcast address in your pf setup with respect to DHCP messages. More ranting on my part, Trond. > > Than I checked telnet/nmap again but still don't found any 67 port > > ever there. I checked again that the dhcpd is running, and its up: > > > > # ps ax|grep dhcp > > 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf > > /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease > > > > Any idea? > > Did you restart dhcpd? > What's the output from fstat with respect to dhcpd? > > The output should be something resembling: > > dhcpddhcpd 18990 root / 2 drwxr-xr-x1024 r > dhcpddhcpd 18990 wd / 6 drwxr-xr-x1024 r > dhcpddhcpd 18990 text /usr 10505569 -rwxr-xr-x 595924 r > dhcpddhcpd 189900 /dev 14 crw-rw-rw-null rw > dhcpddhcpd 189901 /dev 14 crw-rw-rw-null rw > dhcpddhcpd 189902 /dev 14 crw-rw-rw-null rw > dhcpddhcpd 189903* local dgram c32224b4 <-> c32228bc > dhcpddhcpd 189904* internet raw icmp c32d8b2c > dhcpddhcpd 189905* internet dgram udp c3173974 > dhcpddhcpd 189906 /var 70999 -rw-r--r-- 93335 w > dhcpddhcpd 189907 /dev 7 crw--- bpf rw > > If you happen to have lsof installed, it should yield something like > this: > > dhcpd 18990 1 dhcpd cwd VDIR 0,98 10246 /root > dhcpd 18990 1 dhcpd rtd VDIR 0,98 10242 / > dhcpd 18990 1 dhcpd txt VREG 0,106 595924 10505569 > /usr/local/sbin/dhcpd > dhcpd 18990 1 dhcpd txt VREG 0,98 22013626684 > /libexec/ld-elf.so.1 > dhcpd 18990 1 dhcpd txt VREG 0,981143792 1327 > /lib/libc.so.7 > dhcpd 18990 1 dhcpd0u VCHR 0,140t0 14 > /dev/null > dhcpd 18990 1 dhcpd1u VCHR 0,140t0 14 > /dev/null > dhcpd 18990 1 dhcpd2u VCHR 0,140t0 14 > /dev/null > dhcpd 18990 1 dhcpd3u unix 0xc31719a80t0 > ->0xc3171b44 (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=32768,SNDBUF=16384 > SS=ISCONNECTED) > dhcpd 18990 1 dhcpd4u IPv4 0xc32d8b2c0t0 ICMP *:* > (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=73728,SNDBUF=73728) > dhcpd 18990 1 dhcpd5u IPv4 0xc31750600t0 UDP > *:bootps (QR=0 QS=0 > SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=262144,REUSEADDR,SNDBUF=73728) > dhcpd 18990 1 dhcpd6w VREG 0,104 9406170999 /var > (/dev/ufs/var) > dhcpd 18990 1 dhcpd7u VCHR0,7 0t267449857 > /dev/bpf > > > HTH, > Trond. > > > _
Re: dhcpd related issue
The output of: # ifconfig rl1 rl1: flags=8943 metric 0 mtu 1500 options=8 ether 00:13:8f:86:2f:64 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX ) status: active And: # netstat -rnf inet Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default UGS 0 116905 tun0 link#4 UHS 00lo0 link#6 UHS 00 tun0 127.0.0.1 link#4 UH 0 327lo0 192.168.1.0/24 link#2 U 199038rl1 192.168.1.1link#4 UHS 00lo0 I'm usinf FreeBSD 8.0, right now I try to figure out how to check if bpf is comipled in the generic kernel; just to mention: # /usr/local/etc/rc.d/isc-dhcpd status dhcpd is running as pid 3716. From: Trond Endrestøl To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 12:30:52 PM Subject: Re: dhcpd related issue -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 1 Nov 2009 02:06-0800, Dánielisz László wrote: > I had one more idea: try nmap on my dhcp server, and port 67 does > not seems to be opened, after I tried telneting in and my connection > was refused: > > $ telnet 192.168.1.1 67 > Trying 192.168.1.1... > telnet: connect to address 192.168.1.1: Connection refused > telnet: Unable to connect to remote host DHCP uses UDP, telnet uses TCP, no wonder you're getting refused. Do you have bpf (Berkeley packet filter) compiled in the kernel? dhcpd relies on bpf. Just a thought, although dhcpd would probably shut down if bpf is unavailable. As others have suggested, please post the output from ifconfig rl1, and from netstat -rnf inet. > Than I disabled pf > # pfctl -d > No ALTQ support in kernel > ALTQ related functions disabled > pf disabled Just another (silly) thought, does your pf setup allow UDP from 192.168.1.1:67 to *:68 over the rl1 interface? > Than I checked telnet/nmap again but still don't found any 67 port > ever there. I checked again that the dhcpd is running, and its up: > > # ps ax|grep dhcp > 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf > -lf /var/db/dhcpd/dhcpd.lease > > Any idea? Did you restart dhcpd? What's the output from fstat with respect to dhcpd? The output should be something resembling: dhcpddhcpd 18990 root / 2 drwxr-xr-x1024 r dhcpddhcpd 18990 wd / 6 drwxr-xr-x1024 r dhcpddhcpd 18990 text /usr 10505569 -rwxr-xr-x 595924 r dhcpddhcpd 189900 /dev 14 crw-rw-rw-null rw dhcpddhcpd 189901 /dev 14 crw-rw-rw-null rw dhcpddhcpd 189902 /dev 14 crw-rw-rw-null rw dhcpddhcpd 189903* local dgram c32224b4 <-> c32228bc dhcpddhcpd 189904* internet raw icmp c32d8b2c dhcpddhcpd 189905* internet dgram udp c3173974 dhcpddhcpd 189906 /var 70999 -rw-r--r-- 93335 w dhcpddhcpd 189907 /dev 7 crw--- bpf rw If you happen to have lsof installed, it should yield something like this: dhcpd 18990 1 dhcpd cwd VDIR 0,98 10246 /root dhcpd 18990 1 dhcpd rtd VDIR 0,98 10242 / dhcpd 18990 1 dhcpd txt VREG 0,106 595924 10505569 /usr/local/sbin/dhcpd dhcpd 18990 1 dhcpd txt VREG 0,98 22013626684 /libexec/ld-elf.so.1 dhcpd 18990 1 dhcpd txt VREG 0,981143792 1327 /lib/libc.so.7 dhcpd 18990 1 dhcpd0u VCHR 0,140t0 14 /dev/null dhcpd 18990 1 dhcpd1u VCHR 0,140t0 14 /dev/null dhcpd 18990 1 dhcpd2u VCHR 0,140t0 14 /dev/null dhcpd 18990 1 dhcpd3u unix 0xc31719a80t0 ->0xc3171b44 (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=32768,SNDBUF=16384 SS=ISCONNECTED) dhcpd 18990 1 dhcpd4u IPv4 0xc32d8b2c0t0 ICMP *:* (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=73728,SNDBUF=73728) dhcpd 18990 1 dhcpd5u IPv4 0xc31750600t0 UDP *:bootps (QR=0 QS=0 SO=PQLEN=0,QLEN=0,QLIM=0,RCVBUF=262144,REUSEADDR,SNDBUF=73728) dhcpd 18990 1 dhcpd6w VREG 0,104 9406170999 /var (/dev/ufs/var) dhcpd 18990 1 dhcpd7u VCHR 0,7 0t26744985 7 /dev/bpf HTH, Trond. > > From: Dánielisz László > To: patrick > Cc: freebsd-questions@freebsd.org > Sent: Sun, November 1, 2009 8:34:03 AM > Subject: Re: dhcpd related issue > > It's the same, I still don't got any IP addres
Re: dhcpd related issue - not giving up
Well, it says: rl1: flags=8943 metric 0 mtu 1500 options=8 ether 00:13:8f:86:2f:64 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX ) status: active From: krad To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 12:09:30 PM Subject: Re: dhcpd related issue - not giving up 2009/11/1 Dánielisz László >I don't give it up, doing some tcpdump on my BSD I can see the dhcp request >reaches the machine, the dhcpd is running, but why doesn't gives any IP? > >># tcpdump -i rl1 -n port 67 or port 68 >>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode >>listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes >>11:51:43.086597 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from >>00:24:03:f1:bd:36, length 300 >>11:51:45.102260 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from >>00:24:03:f1:bd:36, length 300 >>11:51:49.114960 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from >>00:24:03:f1:bd:36, length 300 >>11:51:57.150734 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from >>00:24:03:f1:bd:36, length 300 >>11:51:59.157311 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from >>00:24:03:f1:bd:36, length 300 >>11:52:03.160029 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from >>00:24:03:f1:bd:36, length 300 >>11:57:09.770520 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from >>00:23:6c:86:41:d9, length 300 >>11:57:11.941379 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from >>00:23:6c:86:41:d9, length 300 >>11:57:14.928398 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from >>00:23:6c:86:41:d9, length 300 >>11:57:16.378911 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from >>00:23:6c:86:41:d9, length 300 >>11:57:17.703219 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from >>00:23:6c:86:41:d9, length 300 >>11:57:18.839763 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from >>00:23:6c:86:41:d9, length 300 > > > > > > >> >>From: Dánielisz László >>To: freebsd-questions@freebsd.org >>Sent: Sun, November 1, 2009 11:06:36 AM >>Subject: Re: dhcpd related issue > >>I had one more idea: try nmap on my dhcp server, and port 67 does not seems >>to be opened, after I tried telneting in and my connection was refused: > >>$ telnet 192.168.1.1 67 >>Trying 192.168.1.1... >>telnet: connect to address 192.168.1.1: Connection refused >>telnet: Unable to connect to remote host > >>Than I disabled pf >># pfctl -d >>No ALTQ support in kernel >>ALTQ related functions disabled >>pf disabled > >>Than I checked telnet/nmap again but still don't found any 67 port ever >>there. I checked again that the dhcpd is running, and its up: >># ps ax|grep dhcp >> 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf >> -lf /var/db/dhcpd/dhcpd.lease > >>Any idea? > > > > >> >>From: Dánielisz László >>To: patrick >>Cc: freebsd-questions@freebsd.org >>Sent: Sun, November 1, 2009 8:34:03 AM >>Subject: Re: dhcpd related issue > >>It's the same, I still don't got any IP address. > > > > >> >>From: patrick >>To: Dánielisz László >>Cc: freebsd-questions@freebsd.org >>Sent: Sun, November 1, 2009 6:38:31 AM >>Subject: Re: dhcpd related issue > >>What happens if you disable pf temporarily? > >>2009/10/31 Dánielisz László : >>> Hello, >>> >>> I just configured my dhcpd but it gives no IP-s. >>> What had I done until now: >>> >>> 1. Installed isc-dhcp via ports >>> >>> 2. edited the /usr/local/etc/dhcpd.conf >>> >>> option domain-name "bsd"; >>> option domain-name-servers ; >>> option subnet-mask 255.255.255.0; >>> authoritative; >>> >>> default-lease-time 3600; >>> max-lease-time 86400; >>> ddns-update-style none; >>> >>> subnet 192.168.1.0 netmask 255.255.255.0 { >>> range 192.168.1.129 192.168.1.250; >>> option routers 192.168.1.1; >>> } >>> >>> 3. Added the following ones to /etc/rc.conf >>> ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" >>> dhcpd_enable="Y
Re: dhcpd related issue - not giving up
I don't give it up, doing some tcpdump on my BSD I can see the dhcp request reaches the machine, the dhcpd is running, but why doesn't gives any IP? # tcpdump -i rl1 -n port 67 or port 68 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes 11:51:43.086597 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 11:51:45.102260 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 11:51:49.114960 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 11:51:57.150734 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 11:51:59.157311 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 11:52:03.160029 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:24:03:f1:bd:36, length 300 11:57:09.770520 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 11:57:11.941379 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 11:57:14.928398 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 11:57:16.378911 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 11:57:17.703219 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 11:57:18.839763 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:6c:86:41:d9, length 300 ________ From: Dánielisz László To: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 11:06:36 AM Subject: Re: dhcpd related issue I had one more idea: try nmap on my dhcp server, and port 67 does not seems to be opened, after I tried telneting in and my connection was refused: $ telnet 192.168.1.1 67 Trying 192.168.1.1... telnet: connect to address 192.168.1.1: Connection refused telnet: Unable to connect to remote host Than I disabled pf # pfctl -d No ALTQ support in kernel ALTQ related functions disabled pf disabled Than I checked telnet/nmap again but still don't found any 67 port ever there. I checked again that the dhcpd is running, and its up: # ps ax|grep dhcp 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease Any idea? From: Dánielisz László To: patrick Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 8:34:03 AM Subject: Re: dhcpd related issue It's the same, I still don't got any IP address. ____ From: patrick To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 6:38:31 AM Subject: Re: dhcpd related issue What happens if you disable pf temporarily? 2009/10/31 Dánielisz László : > Hello, > > I just configured my dhcpd but it gives no IP-s. > What had I done until now: > > 1. Installed isc-dhcp via ports > > 2. edited the /usr/local/etc/dhcpd.conf > > option domain-name "bsd"; > option domain-name-servers ; > option subnet-mask 255.255.255.0; > authoritative; > > default-lease-time 3600; > max-lease-time 86400; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > range 192.168.1.129 192.168.1.250; > option routers 192.168.1.1; > } > > 3. Added the following ones to /etc/rc.conf > ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" > dhcpd_enable="YES" > dhcpd_conf="/usr/local/etc/dhcpd.conf" > dhcpd_ifaces="rl1" > > > 4. Opened the adequate port in pf > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = > bootps flags S/SA keep state > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = > bootps keep state > > 5.. When I start de daemon: > # /usr/local/etc/rc.d/isc-dhcpd start > Starting dhcpd. > Internet Systems Consortium DHCP Server V3.0.7 > Copyright 2004-2008 Internet Systems Consortium. > All rights reserved. > For info, please visit http://www.isc.org/sw/dhcp/ > Wrote 0 leases to leases file. > Listening on Socket/rl1/192.168.1/24 > Sending on Socket/rl1/192.168.1/24 > > Everythings looks to be ok there but on the client (I tried OS-X and Nokia > symbian) I can not obtain the IP address, do you have any idea what should I > check? > > > Thanks! > Laci > > > > ___ > 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: dhcpd related issue
I had one more idea: try nmap on my dhcp server, and port 67 does not seems to be opened, after I tried telneting in and my connection was refused: $ telnet 192.168.1.1 67 Trying 192.168.1.1... telnet: connect to address 192.168.1.1: Connection refused telnet: Unable to connect to remote host Than I disabled pf # pfctl -d No ALTQ support in kernel ALTQ related functions disabled pf disabled Than I checked telnet/nmap again but still don't found any 67 port ever there. I checked again that the dhcpd is running, and its up: # ps ax|grep dhcp 958 ?? Is 0:00.00 /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf /var/db/dhcpd/dhcpd.lease Any idea? From: Dánielisz László To: patrick Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 8:34:03 AM Subject: Re: dhcpd related issue It's the same, I still don't got any IP address. From: patrick To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 6:38:31 AM Subject: Re: dhcpd related issue What happens if you disable pf temporarily? 2009/10/31 Dánielisz László : > Hello, > > I just configured my dhcpd but it gives no IP-s. > What had I done until now: > > 1. Installed isc-dhcp via ports > > 2. edited the /usr/local/etc/dhcpd.conf > > option domain-name "bsd"; > option domain-name-servers ; > option subnet-mask 255.255.255.0; > authoritative; > > default-lease-time 3600; > max-lease-time 86400; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > range 192.168.1.129 192.168.1.250; > option routers 192.168.1.1; > } > > 3. Added the following ones to /etc/rc.conf > ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" > dhcpd_enable="YES" > dhcpd_conf="/usr/local/etc/dhcpd.conf" > dhcpd_ifaces="rl1" > > > 4. Opened the adequate port in pf > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = > bootps flags S/SA keep state > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = > bootps keep state > > 5.. When I start de daemon: > # /usr/local/etc/rc.d/isc-dhcpd start > Starting dhcpd. > Internet Systems Consortium DHCP Server V3.0.7 > Copyright 2004-2008 Internet Systems Consortium. > All rights reserved. > For info, please visit http://www.isc.org/sw/dhcp/ > Wrote 0 leases to leases file. > Listening on Socket/rl1/192.168.1/24 > Sending on Socket/rl1/192.168.1/24 > > Everythings looks to be ok there but on the client (I tried OS-X and Nokia > symbian) I can not obtain the IP address, do you have any idea what should I > check? > > > Thanks! > Laci > > > > ___ > 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" > ___ 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" ___ 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" ___ 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: dhcpd related issue
It's the same, I still don't got any IP address. From: patrick To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Sun, November 1, 2009 6:38:31 AM Subject: Re: dhcpd related issue What happens if you disable pf temporarily? 2009/10/31 Dánielisz László : > Hello, > > I just configured my dhcpd but it gives no IP-s. > What had I done until now: > > 1. Installed isc-dhcp via ports > > 2. edited the /usr/local/etc/dhcpd.conf > > option domain-name "bsd"; > option domain-name-servers ; > option subnet-mask 255.255.255.0; > authoritative; > > default-lease-time 3600; > max-lease-time 86400; > ddns-update-style none; > > subnet 192.168.1.0 netmask 255.255.255.0 { > range 192.168.1.129 192.168.1.250; > option routers 192.168.1.1; > } > > 3. Added the following ones to /etc/rc.conf > ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" > dhcpd_enable="YES" > dhcpd_conf="/usr/local/etc/dhcpd.conf" > dhcpd_ifaces="rl1" > > > 4. Opened the adequate port in pf > pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = > bootps flags S/SA keep state > pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = > bootps keep state > > 5.. When I start de daemon: > # /usr/local/etc/rc.d/isc-dhcpd start > Starting dhcpd. > Internet Systems Consortium DHCP Server V3.0.7 > Copyright 2004-2008 Internet Systems Consortium. > All rights reserved. > For info, please visit http://www.isc.org/sw/dhcp/ > Wrote 0 leases to leases file. > Listening on Socket/rl1/192.168.1/24 > Sending on Socket/rl1/192.168.1/24 > > Everythings looks to be ok there but on the client (I tried OS-X and Nokia > symbian) I can not obtain the IP address, do you have any idea what should I > check? > > > Thanks! > Laci > > > > ___ > 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" > ___ 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" ___ 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: dhcpd related issue
Ok, I found this one on my Mac MacBook configd[13]: DHCP en1: INIT transmit failed I googled but yet I haven't found any good idea. From: Vagner To: FreeBSD questions Mail List Sent: Sat, October 31, 2009 7:03:54 PM Subject: Re: dhcpd related issue You can analyze all the traffic going from the client to DHCP server. If this is of course really... -- Respectfully, Stanislav Putrya System administrator "RMK Kovsh" Ltd. IM: 328585847 mob. phone: +79525600664 email: root.vag...@gmail.com email: vagner_ri...@bk.ru ( ) ASCII ribbon campaign X - against HTML, vCards and / \ - proprietary attachments in e-mail ___ 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" ___ 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: dhcpd related issue
I tried this one: # tcpdump -n -e -ttt -r /var/log/pflog port 67 reading from file /var/log/pflog, link-type PFLOG (OpenBSD pflog file) And it shows nothing. Do you have any other idea what should I try? From: Vagner To: FreeBSD questions Mail List Sent: Sat, October 31, 2009 5:09:52 PM Subject: Re: dhcpd related issue What shows tcpdump? -- Respectfully, Stanislav Putrya System administrator "RMK Kovsh" Ltd. IM: 328585847 mob. phone: +79525600664 email: root.vag...@gmail.com email: vagner_ri...@bk.ru ( ) ASCII ribbon campaign X - against HTML, vCards and / \ - proprietary attachments in e-mail ___ 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" ___ 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"
dhcpd related issue
Hello, I just configured my dhcpd but it gives no IP-s. What had I done until now: 1. Installed isc-dhcp via ports 2. edited the /usr/local/etc/dhcpd.conf option domain-name "bsd"; option domain-name-servers ; option subnet-mask 255.255.255.0; authoritative; default-lease-time 3600; max-lease-time 86400; ddns-update-style none; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.129 192.168.1.250; option routers 192.168.1.1; } 3. Added the following ones to /etc/rc.conf ifconfig_rl1="inet 192.168.1.1 netmask 255.255.255.0" dhcpd_enable="YES" dhcpd_conf="/usr/local/etc/dhcpd.conf" dhcpd_ifaces="rl1" 4. Opened the adequate port in pf pass in log on rl1 inet proto tcp from 192.168.1.0/24 to 192.168.1.1 port = bootps flags S/SA keep state pass in log on rl1 inet proto udp from 192.168.1.0/24 to 192.168.1.1 port = bootps keep state 5.. When I start de daemon: # /usr/local/etc/rc.d/isc-dhcpd start Starting dhcpd. Internet Systems Consortium DHCP Server V3.0.7 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Wrote 0 leases to leases file. Listening on Socket/rl1/192.168.1/24 Sending on Socket/rl1/192.168.1/24 Everythings looks to be ok there but on the client (I tried OS-X and Nokia symbian) I can not obtain the IP address, do you have any idea what should I check? Thanks! Laci ___ 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"
PPPoE client+pf+nat
Hello, I am looking to configure my FreeBSD 8.0 machine for the purpose specified in the subject. Let's say I have two NICs in my PC: ext_if (for wan/pppoe connection) and int_if for my LAN. How would you manage to get work NAT with pf using PPPoE from my ISP; I'd like to use DHCP on my LAN. Thank you for you ideas! Laci ___ 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: pf+time stamp
Oh, great! Thank you! From: Matthew Seaman To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Mon, October 19, 2009 8:33:37 PM Subject: Re: pf+time stamp Dánielisz László wrote: > Hello, > > Do you have any idea how to add and read time stamp of pf/pf.log? > > Thank you! > Laci Do you mean /var/log/pflog ? Which is the default location where a record of logged packets ends up if you run pflogd(8). That's actually a pcap (packet capture) file, and you can read it using tcpdump: # tcpdump -r /var/log/pflog Each packet is recorded with a high resolution timestamp that tcpdump will display for you -- like this naughty chap suffering the consequences of trying to brute-force my ssh daemon just before 1:00pm today: 12:52:44.891373 IP customer-201-134-103-165.uninet-ide.com.mx.2316 > happy-idiot-talk.infracaninophile.co.uk.ssh: . ack 2991958242 win 1460 12:52:45.516283 IP customer-201-134-103-165.uninet-ide.com.mx.2316 > happy-idiot-talk.infracaninophile.co.uk.ssh: F 0:0(0) ack 1 win 1460 12:52:48.387822 IP customer-201-134-103-165.uninet-ide.com.mx.2316 > happy-idiot-talk.infracaninophile.co.uk.ssh: F 0:0(0) ack 1 win 1460 12:52:54.131863 IP customer-201-134-103-165.uninet-ide.com.mx.2316 > happy-idiot-talk.infracaninophile.co.uk.ssh: F 0:0(0) ack 1 win 1460 12:52:57.113810 IP customer-201-134-103-165.uninet-ide.com.mx.2316 > happy-idiot-talk.infracaninophile.co.uk.ssh: . ack 1 win 1460 12:53:05.620251 IP customer-201-134-103-165.uninet-ide.com.mx.2316 > happy-idiot-talk.infracaninophile.co.uk.ssh: F 0:0(0) ack 1 win 1460 12:53:28.597524 IP customer-201-134-103-165.uninet-ide.com.mx.2316 > happy-idiot-talk.infracaninophile.co.uk.ssh: F 0:0(0) ack 1 win 1460 12:54:14.550822 IP customer-201-134-103-165.uninet-ide.com.mx.2316 > happy-idiot-talk.infracaninophile.co.uk.ssh: F 0:0(0) ack 1 win 1460 12:55:46.457353 IP customer-201-134-103-165.uninet-ide.com.mx.2316 > happy-idiot-talk.infracaninophile.co.uk.ssh: F 0:0(0) ack 1 win 1460 13:00:15.032146 IP customer-201-134-103-165.uninet-ide.com.mx.2316 > happy-idiot-talk.infracaninophile.co.uk.ssh: R 1230911050:1230911050(0) win 1460 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 ___ 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"
pf+time stamp
Hello, Do you have any idea how to add and read time stamp of pf/pf.log? Thank you! Laci ___ 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"
pf, ssh related question
Hello, I have the following annoying thing: all the time I runpfctl -F all -f /etc/pf.conf I got disconnected from my remote machine. Do you have any idea how can I avoid this? Here is my pf.conf #MACROS ext_if="rl0" int_if="rl1" good_ip="{192.168.1.0/24}" icmp_types="echoreq" set skip on lo scrub in block in pass out keep state antispoof quick for { lo $int_if } #incoming ssh pass in log quick on $int_if inet proto tcp from $good_ip to ($int_if) port 22 flags S/SA keep state #incoming http pass in log quick on $int_if inet proto tcp from $good_ip to ($int_if) port 80 flags S/SA keep state pass in inet proto icmp all icmp-type $icmp_types keep state ___ 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: torrentflux
Ok, now is up and running. In case any of you have the same problem try this ones: Search in httpd.conf for /usr/local/www/apache22/data and replace it with /usr/local/www/data Have a nice day! Laci From: Dánielisz László Subject: Re: torrentflux I found out that there is an httpd.conf problem, I fixed that but now I'm thinking how to put php module in apache without reinstalling apache. From: Polytropon To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Thu, October 15, 2009 8:22:04 PM Subject: Re: torrentflux On Thu, 15 Oct 2009 10:19:55 -0700 (PDT), Dánielisz László wrote: > Hello, > > Ok, I know it sounds numb, but how can I actually start > torrentflux on my freebsd machine? I haven't used this torrent client so far (ctorrent is my choice at the moment), but according to > # pkg_info |grep torrent > torrentflux-2.0.b1 A PHP based BitTorrent client that runs on a web server it seems that you have to run a web server (I think locally), e. g. Apache, and then connect to this server in order to perform the actions with your client, such as entering http://127.0.0.1 in your web browser - this assumes that the web server is running and the PHP script is properly installed. It's possible that you need to connect to a specific port (e. g. ":631" after the local IP). > but I can not find how to start it and torrentflux forum > is down, do you have any idea? Doesn't torrentflux come with some documentation? Have a look for it in /usr/local/share/doc where it should be. The packagin list in the port's directory mentions "install.txt", maybe this file contains the information needed? Finally, does torrentflux.com (the homepage of the project) have some information? -- 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" ___ 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" ___ 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: torrentflux
I found out that there is an httpd.conf problem, I fixed that but now I'm thinking how to put php module in apache without reinstalling apache. From: Polytropon To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Thu, October 15, 2009 8:22:04 PM Subject: Re: torrentflux On Thu, 15 Oct 2009 10:19:55 -0700 (PDT), Dánielisz László wrote: > Hello, > > Ok, I know it sounds numb, but how can I actually start > torrentflux on my freebsd machine? I haven't used this torrent client so far (ctorrent is my choice at the moment), but according to > # pkg_info |grep torrent > torrentflux-2.0.b1 A PHP based BitTorrent client that runs on a web server it seems that you have to run a web server (I think locally), e. g. Apache, and then connect to this server in order to perform the actions with your client, such as entering http://127.0.0.1 in your web browser - this assumes that the web server is running and the PHP script is properly installed. It's possible that you need to connect to a specific port (e. g. ":631" after the local IP). > but I can not find how to start it and torrentflux forum > is down, do you have any idea? Doesn't torrentflux come with some documentation? Have a look for it in /usr/local/share/doc where it should be. The packagin list in the port's directory mentions "install.txt", maybe this file contains the information needed? Finally, does torrentflux.com (the homepage of the project) have some information? -- 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" ___ 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"
torrentflux
Hello, Ok, I know it sounds numb, but how can I actually start torrentflux on my freebsd machine? I installed by ports ... # pkg_info |grep torrent torrentflux-2.0.b1 A PHP based BitTorrent client that runs on a web server but I can not find how to start it and torrentflux forum is down, do you have any idea? Thank you! Laci ___ 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: freeBSD 6.4
Hi Mario, There are planty ways to make an xorg.conf, for example to nvida vga cards there is a special apllication which generates the xorg.conf. Try to type top and check out which processes uses the more CPU, also checg out Load Avg. Laci From: Mario PNH To: Dánielisz László Sent: Monday, March 30, 2009 6:10:10 PM Subject: Re: freeBSD 6.4 Hi Dánielisz: The freeBSD is on another hard drive and I am going to review the configurations, and send a txt file if you don't mind. I remember Xorg process was busy all the time, I have to check it again. Last time my Load on Firefox was just GMAIL. Mario 2009/3/28 Dánielisz László Hi Mario! Did you installed the right vga driver? Did you make de right xorg.conf for Xserver? Please check this. Anyways, you can send your top processes, but I think that the Firefox uses the more from CPU, by the way, what is your load? Laci From: Mario PNH To: Dánielisz László Sent: Friday, March 27, 2009 7:29:25 PM Subject: freeBSD 6.4 Hi Dánielisz I got this email of you on MAR 13, and today I got the GNOME running on freeBSD 6.4. I also installed KDE4 but haven't used it yet. My main question this time is about the whole freeBSD. As a matter of fact it is running the CPU above 50% as I start GNOME with no more application involved. I am right now emailing this from GMAIL/google using firefox loaded on GNOME 2.22.3 and the CPU is 75% busy. So it is kind of slow and lagging. I am using this ASUS machine: AMD Athlon(TM) XP 2000+ Memory 1 GB Which when I use windows XP as OS, does the same with CPU involved just 6%. I am sure freeBSD should do this much faster than Windows XP, but I have no idea how to detect what is wrong. I can also send the list of processes running on this 6.4 which i guess most of them are normal. and the only application open is firefox connected to GMAIL . Any idea what should I check? I like to have a UNIX like OP. System to work on my JAVA programs. That I was doing with WIN-XP so far. And I have WIN2003 also on another ASUS Core i7 machine. I want to know if the performance of freeBSD is very hardware related, then what type of motherboard / chip / CPU ..etc is recommended? I used to work with UNIX on SUN machines while at university, and I expect freeBSD to function almost the same, and even better these days concerning the time and new technologies but I am missing some info to get it done. Thanks Mario On Sat, Mar 14, 2009 at 5:04 AM, Dánielisz László wrote: You are welcome! Don't forget to upgrade your ports, I think after this it will work, if not than try pkg_add but first read the manual. From: Mario PNH To: Dánielisz László Sent: Friday, March 13, 2009 9:07:56 PM Subject: Re: Ports Collection Thanks for your response. FreeBSD versions of 7.0 and 7.1 could never be booted on my computer, and it kept restarting with a short note of "inflate" on the screen. But 6.4 is running excellent, except for the gnome2 installation. I didn't update my ports, but I will, and I think I need to go though gnome installation instruction again. While installing gnome2, for near 2 hours, it finally went into a loop cycle of loading and repeating things, I can't remember exactly what but I am going to watch it closely as I redo it over next week I am trying 6.4 on my 5 yr old ASUS A7N266-VM, which still runs great with nVidia 220 North Bridge Chipset - CPU AMD Athlon(TM)2000+. 6.4 recognizes all components as I went through log files. This is a test for me, to learn about freeBSD. Once I am familiar with how it functions, I try it on my new ASUS P6T Deluxe - Intel X58 (core i7). However, with the fact that I may face drivers issue for this one, yet I am going to add new hard drive to test 7.1 on the P6T soon, as I get just a bit free time after MAR 21. I appreciate your response and I will provide more info later on. Thanks, Mario On Thu, Mar 12, 2009 at 6:06 AM, Dánielisz László wrote: Dear Mario Palmer, Did you tried to install the latest FreeBSD version instead of 6.4? Did you updated your ports tree before running the make command (eg. with cvsup)? You can also try installing gnome2 via pkg_add -r [-v] Laci From: Mario PNH To: freebsd-questions@FreeBSD.org Sent: Wednesday, March 11, 2009 10:01:41 PM Subject: Ports Collection I really liked the FreeBSD running on my ASUS desktop, until I tried to install gnome2 and I was surprised that it never finished it, during which it created some 20 and more user groups like 'nobody', 'anonymous', 'aiviah', 'games', etc ... and I am wondering if that was a normal process. # cd /usr/ports/x11/gnome2 # make install clean I have burned the DVD of 6.4 version lately and I don't know if that's al
Re: freeBSD 6.4
Hi Mario! Did you installed the right vga driver? Did you make de right xorg.conf for Xserver? Please check this. Anyways, you can send your top processes, but I think that the Firefox uses the more from CPU, by the way, what is your load? Laci From: Mario PNH To: Dánielisz László Sent: Friday, March 27, 2009 7:29:25 PM Subject: freeBSD 6.4 Hi Dánielisz I got this email of you on MAR 13, and today I got the GNOME running on freeBSD 6.4. I also installed KDE4 but haven't used it yet. My main question this time is about the whole freeBSD. As a matter of fact it is running the CPU above 50% as I start GNOME with no more application involved. I am right now emailing this from GMAIL/google using firefox loaded on GNOME 2.22.3 and the CPU is 75% busy. So it is kind of slow and lagging. I am using this ASUS machine: AMD Athlon(TM) XP 2000+ Memory 1 GB Which when I use windows XP as OS, does the same with CPU involved just 6%. I am sure freeBSD should do this much faster than Windows XP, but I have no idea how to detect what is wrong. I can also send the list of processes running on this 6.4 which i guess most of them are normal. and the only application open is firefox connected to GMAIL . Any idea what should I check? I like to have a UNIX like OP. System to work on my JAVA programs. That I was doing with WIN-XP so far. And I have WIN2003 also on another ASUS Core i7 machine. I want to know if the performance of freeBSD is very hardware related, then what type of motherboard / chip / CPU ..etc is recommended? I used to work with UNIX on SUN machines while at university, and I expect freeBSD to function almost the same, and even better these days concerning the time and new technologies but I am missing some info to get it done. Thanks Mario On Sat, Mar 14, 2009 at 5:04 AM, Dánielisz László wrote: You are welcome! Don't forget to upgrade your ports, I think after this it will work, if not than try pkg_add but first read the manual. From: Mario PNH To: Dánielisz László Sent: Friday, March 13, 2009 9:07:56 PM Subject: Re: Ports Collection Thanks for your response. FreeBSD versions of 7.0 and 7.1 could never be booted on my computer, and it kept restarting with a short note of "inflate" on the screen. But 6.4 is running excellent, except for the gnome2 installation. I didn't update my ports, but I will, and I think I need to go though gnome installation instruction again. While installing gnome2, for near 2 hours, it finally went into a loop cycle of loading and repeating things, I can't remember exactly what but I am going to watch it closely as I redo it over next week I am trying 6.4 on my 5 yr old ASUS A7N266-VM, which still runs great with nVidia 220 North Bridge Chipset - CPU AMD Athlon(TM)2000+. 6.4 recognizes all components as I went through log files. This is a test for me, to learn about freeBSD. Once I am familiar with how it functions, I try it on my new ASUS P6T Deluxe - Intel X58 (core i7). However, with the fact that I may face drivers issue for this one, yet I am going to add new hard drive to test 7.1 on the P6T soon, as I get just a bit free time after MAR 21. I appreciate your response and I will provide more info later on. Thanks, Mario On Thu, Mar 12, 2009 at 6:06 AM, Dánielisz László wrote: Dear Mario Palmer, Did you tried to install the latest FreeBSD version instead of 6.4? Did you updated your ports tree before running the make command (eg. with cvsup)? You can also try installing gnome2 via pkg_add -r [-v] Laci From: Mario PNH To: freebsd-questions@FreeBSD.org Sent: Wednesday, March 11, 2009 10:01:41 PM Subject: Ports Collection I really liked the FreeBSD running on my ASUS desktop, until I tried to install gnome2 and I was surprised that it never finished it, during which it created some 20 and more user groups like 'nobody', 'anonymous', 'aiviah', 'games', etc ... and I am wondering if that was a normal process. # cd /usr/ports/x11/gnome2 # make install clean I have burned the DVD of 6.4 version lately and I don't know if that's all I needed to install gnome2 instead of using Ports Collection. Thanks, Mario Palmer ___ 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" ___ 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: utility that scans lan for client?
Maybe nmap can help you in this case From: John Almberg To: freebsd-questions@freebsd.org Sent: Monday, March 23, 2009 7:59:36 PM Subject: utility that scans lan for client? I've tried googling for this, but I guess I don't know the name of a utility such as this... What I'm looking for is a utility that can scan a LAN for attached clients... i.e., computers that are attached to the LAN. I have one box (an appliance that I have no access to), that is on the LAN but I don't know what IP address it's using. I'd like to complete my network map, and that is the one empty box on my chart. Yes, I am obsessive :-) Any help, much appreciated. -- John ___ 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" ___ 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: Ports Collection
Dear Mario Palmer, Did you tried to install the latest FreeBSD version instead of 6.4? Did you updated your ports tree before running the make command (eg. with cvsup)? You can also try installing gnome2 via pkg_add -r [-v] Laci From: Mario PNH To: freebsd-questions@FreeBSD.org Sent: Wednesday, March 11, 2009 10:01:41 PM Subject: Ports Collection I really liked the FreeBSD running on my ASUS desktop, until I tried to install gnome2 and I was surprised that it never finished it, during which it created some 20 and more user groups like 'nobody', 'anonymous', 'aiviah', 'games', etc ... and I am wondering if that was a normal process. # cd /usr/ports/x11/gnome2 # make install clean I have burned the DVD of 6.4 version lately and I don't know if that's all I needed to install gnome2 instead of using Ports Collection. Thanks, Mario Palmer ___ 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" ___ 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: dual boot FreeBSD and openBSD
Hi, Did you tried BSD Boot Manager? http://www.freebsd.org/doc/en/books/handbook/boot-blocks.html Laci From: Saifi Khan To: FreeBSD Questions Sent: Thursday, March 12, 2009 2:14:11 PM Subject: dual boot FreeBSD and openBSD Hi all: My apologies if this is a newbie question, however, i'm trying to look beyond GRUB fixation. i'd like to do a dual boot installation of FreeBSD and openBSD, without using GRUB or LILO. Any suggestions on the bootloader to use ? What would your suggestion be, if i'm trying to dual boot on a clean (ie. no multilib) 64-bit system ? thanks Saifi. ___ 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" ___ 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: FreeBSD 7.1 Install error.
Did you tried to disable ACPI? From: Rudra murthy To: freebsd-questions@freebsd.org Sent: Friday, March 6, 2009 10:30:56 AM Subject: FreeBSD 7.1 Install error. Hi all, I am new to this chain. I have a problem while installing the FreeBSD 7.1 release on the Pentium-4 machine. While installing, the installation hangs in "*md0: Preloaded image *". I have searched in the net. I didn't get any usefull information. Please give some suggestion., Thanks in advance. Rudramurthy ___ 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" ___ 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: Default file permissions
Yeah, I meant, cron. May umask sound better, if you find out the best solution for your issue please let us know :) Thank you! From: Roey D <[EMAIL PROTECTED]> To: freebsd-questions@freebsd.org Sent: Tuesday, November 4, 2008 9:49:10 AM Subject: Re: Default file permissions 2008/11/4 Dánielisz László <[EMAIL PROTECTED]>: > Roey, you can do a chron to chmod the downloaded directory. > Did you mean using cron? I'm not very familiar with that, but as far as I know cron jobs can run at specifc times, not on specifc events. Creating a cron job that runs every 5 minutes for chmod sounds a bit like a waste of CPU, and the effect will occur every 5 minutes, not immidietly when a file is downloaded. umask command seems to do the trick. Thanks. Roey ___ 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: Default file permissions
Roey, you can do a chron to chmod the downloaded directory. From: Roey D <[EMAIL PROTECTED]> To: freebsd-questions@freebsd.org Sent: Tuesday, November 4, 2008 9:00:24 AM Subject: Default file permissions I have a server running Azureus to download torrent files. The Azureus directory is accessible to other computers using samba. Azureus dumps it's completed files with the 644 permissions, making them writable only for the owner. As far as I looked, Azureus cannot be configured to dump it's files with different permissions. Is there any way to apply a "Inherited file permissions" on a specific directory? (i.e all files created on this folder will have a specific permission set, unless specifically changed by some application) I prefer doing this with the classic permission system, rather then using ACLs. Thanks, Roey ___ 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: flash-9, 10 on FreeBSD
Hello! I also had some fight with Adobe's Flash player, but unfortunately without success. I remaing curios about any solution. Laci From: Mikhail Teterin <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 1:59:23 PM Subject: flash-9, 10 on FreeBSD Hello! I'm having serious problems with Adobe's Flash 9 and 10 on my FreeBSD-7/amd64 system. If I try to use it directly with linux-firefox, the entire browser crashes quickly. If I try www/nspluginwrapper with a native browser, the wrapper-launched npviewer.bin seg-faults instead. Either way, the plugin does not work... It appears, there was some activity recently in trying to fix these problems (is it all in linprocfs/?) What is the current status? Thanks, -mi ___ 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: samba - vista problems
It works! Thank you very much! [2008/10/23 15:51:28, 1] smbd/service.c:make_connection_snum(1033) laci-laptop (192.168.1.4) connect to service laci_smb initially as user laci_smb (uid=1002, gid=1002) (pid 13213) - Original Message From: Valentin Bud <[EMAIL PROTECTED]> To: Dánielisz László <[EMAIL PROTECTED]> Cc: freebsd-questions Sent: Thursday, October 23, 2008 3:31:59 PM Subject: Re: samba - vista problems On Thu, Oct 23, 2008 at 3:27 PM, Dánielisz László < [EMAIL PROTECTED]> wrote: > Yes, I got the following error message, but not every time, sometime its > just simply empty: > > # tail -f /var/log/samba/log.laci-laptop > [2008/10/23 14:51:36, 0] lib/util_sock.c:read_data(534) > read_data: read failure for 4 bytes to client 192.168.1.4. Error = > Connection reset by peer > > - Original Message > From: Valentin Bud <[EMAIL PROTECTED]> > To: Dánielisz László <[EMAIL PROTECTED]> > Sent: Thursday, October 23, 2008 3:21:11 PM > Subject: Re: samba - vista problems > > > > On Thu, Oct 23, 2008 at 2:50 PM, Dánielisz László < > [EMAIL PROTECTED]> wrote: > >> Hello! >> >> I have some problems with my samba/vista "os" >> I can't log on from my pc to the samba, it says every time that there is a >> password/user problem, I tried to retype almost 50 times the user/pass, to >> change it but it don't works. >> >> do you ever meet this problem? >> > > did you check the logs? /var/log/samba/* > >> >> Laci >> >> >> >> >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> [EMAIL PROTECTED]" >> > Ok, have you added the user to the samba user database: # smbpasswd -a The must be a system user. You can use either smbpasswd(8) or pdbedit(8). all the best, v ___ 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]"
samba - vista problems
Hello! I have some problems with my samba/vista "os" I can't log on from my pc to the samba, it says every time that there is a password/user problem, I tried to retype almost 50 times the user/pass, to change it but it don't works. do you ever meet this problem? Laci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: brasero
Thank you! I will try it right now. - Original Message From: Manolis Kiagias <[EMAIL PROTECTED]> To: Dánielisz László <[EMAIL PROTECTED]> Cc: freebsd-questions@freebsd.org Sent: Tuesday, October 14, 2008 10:08:26 PM Subject: Re: brasero Dánielisz László wrote: > hello! > > I just installed Brasero and because a strange reason I can not select any > dvd writer drive, I included device atapicam to my kernel? > > Do you have any idea what can I try? > > > Laci > > > While I have not used brasero on FreeBSD, I know (from k3b) that you will need several other settings. It all boils down to giving a normal user permissions to use the CD/DVD recorder device. Both brasero and k3b depend on ports like sysutils/cdrdao, sysutils/cdrtools and sysutils/dvd+rw-tools. You can find these settings in the info for k3b: cd /usr/ports/sysutils/k3b make showinfo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
brasero
hello! I just installed Brasero and because a strange reason I can not select any dvd writer drive, I included device atapicam to my kernel? Do you have any idea what can I try? Laci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: stop in usr/ports/www/firefox3
Hi, Do you cvsup-ed your system? Laci - Original Message From: Dino Vliet <[EMAIL PROTECTED]> To: freebsd-questions@freebsd.org; [EMAIL PROTECTED] Sent: Sunday, September 28, 2008 2:25:15 PM Subject: stop in usr/ports/www/firefox3 Hi peeps, I want to install firefox3 beside my working firefox2 port on my amd64 system running freebsd 6.3 but the installation fails here: ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x13b8): In function `nsACString::SetLength(unsigned int)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x13ea): In function `nsACString::BeginWriting(char**, char**, unsigned int)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x14f8): In function `nsACString::BeginWriting(unsigned int)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x151d): In function `nsACString::EndWriting()': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1aac): In function `nsDependentSubstring_external::nsDependentSubstring_external(nsAString const&, unsigned int)': : undefined reference to `NS_StringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1b14): In function `nsDependentSubstring_external::nsDependentSubstring_external(nsAString const&, unsigned int, unsigned int)': : undefined reference to `NS_StringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1b68): In function `nsDependentCSubstring_external::nsDependentCSubstring_external(nsACString const&, unsigned int)': : undefined reference to `NS_CStringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1bd0): In function `nsDependentCSubstring_external::nsDependentCSubstring_external(nsACString const&, unsigned int, unsigned int)': : undefined reference to `NS_CStringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1c73): In function `CompressWhitespace(nsAString&)': : undefined reference to `NS_StringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1e13): In function `ToLowerCase(nsACString const&, nsACString&)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1e93): In function `ToUpperCase(nsACString const&, nsACString&)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsCRTGlue.o)(.text+0x14f): In function `NS_strndup(unsigned short const*, unsigned int)': : undefined reference to `NS_Alloc' ../../../../dist/lib/libxpcomglue_s.a(nsCRTGlue.o)(.text+0x1d1): In function `NS_strdup(char const*)': : undefined reference to `NS_Alloc' ../../../../dist/lib/libxpcomglue_s.a(nsMemory.o)(.text+0x1d): In function `nsMemory::Clone(void const*, unsigned long)': : undefined reference to `NS_Alloc' gmake[5]: *** [libimgicon.so] Error 1 gmake[5]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/modules/libpr0n/decoders/icon' gmake[4]: *** [tools] Error 2 gmake[4]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/modules/libpr0n/decoders' gmake[3]: *** [tools] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/modules/libpr0n' gmake[2]: *** [tools_tier_gecko] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox3/work/mozilla' gmake[1]: *** [tier_toolkit] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox3/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/firefox3. *** Error code 1 Stop in /usr/ports/www/firefox3. [EMAIL PROTECTED] /usr/ports/www/firefox3]# What is wrong here? uname -a: FreeBSD zouk.alice.nl 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #18: Thu Mar 20 21:01:24 CET 2008 root@:/usr/obj/usr/src/sys/MYKERNEL amd64 Hope somebody can help. Brgds Dino ___ 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]"