two ethernet cards

2009-01-02 Thread Stefan Miklosovic
hi i have two ethernet cards on my box uname -a FreeBSD dexter 7.0-RELEASE Freebsd 7.0-RELEASE #5: Fri Jan 2 21:25:21 CET 2009 r...@dexter:/usr/obj/usr/src/sys/DEXTER i386 ifconfig rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether

compilation vs binary files

2009-01-06 Thread Stefan Miklosovic
hi, i would like to know, if it has a sense to compile software provided in form of ports in /usr/ports. I mean, I know there is a bunch of options you can choose from and make certain application more suitable for your hardware / software needs. I just want to know, if I can install software in

logout and login after compilation

2009-01-07 Thread Stefan Miklosovic
hi If I something install from ports, I cant use that command directly. It says to me that command not found. Do I have to always log in and log out before use of command? Is there some other way? my shell is csh, 7.1-RELEASE thx ___

creating own CVSup server

2009-01-11 Thread Stefan Miklosovic
Hi all, I decided to set up my own CVSup server just for my local network. After reading all related stuff I should find, I have solid knowledge about this issue but one thing disturbed my mind. My pc, server which I will mirroring from, is also downloading source tree from another server

Re: creating own CVSup server

2009-01-11 Thread Stefan Miklosovic
Hi, me again, I also havent noticed, that there is a choice among -current or -stable. If I want to mirror just -stable (this is possible with cvsup stable-supfile), can I? thank you again On Sun, Jan 11, 2009 at 8:37 PM, Stefan Miklosovic miklosovic.free...@gmail.com wrote: Hi all, I

where is xorg located?

2009-03-15 Thread Stefan Miklosovic
hi hi all, i try to install xorg as a package like: # pkg_add -r xorg it takes a while, but only an error appears to me, it says that Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/xorg.tbz : File unavailable (e.g., file not found, no access)

shell redirection

2010-02-02 Thread Stefan Miklosovic
hi I have a shell script and I would like to do something like this $ ./script.sh somefile After that, I can, just say, write content of that file on the screen. I would like to know, how to do that in script, I dont know that tricky redirection things ... thanks a lot

custom iso with /etc/src.conf

2011-06-02 Thread Stefan Miklosovic
what to compile and what not) is build and isos are made. Thank you very much Stefan Miklosovic ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions

port for separation audio from video in mp4 file

2009-06-08 Thread Stefan Miklosovic
hi, title says it, i downloaded mp4 file by youtube-dl, but it downloaded video and audio as well. I would like to separate audio from that file. i try to find some port in /usr/ports/audio but nothing reasonable occudred. i tried find . -type f -name pkg-descr | xargs grep mp4 but these were

s...@home

2009-06-30 Thread Stefan Miklosovic
hi all, I would like to install s...@home client to my machine, There are tutorials on internet how to install it, but it is all about package called simply setiathome. I dont see such package in a port tree. I was searching for similar one, it seems I found it :

disk encryption with geli

2009-07-24 Thread Stefan Miklosovic
hi all i am going to encrypt my /home directory which is mounted in /etc/fstab like /dev/ad0s2f /home ufs rw,noatime 2 2 I did like is wrote in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html everything looks good. ad0s2f.eli

close users in jail

2009-07-28 Thread Stefan Miklosovic
hi all, I am going to do some research in area of creating server in educational sphere, for example for some computer course at an university. At this server, there would be a lot of users (in tens, even hundreds) and I am also going to write some kind of shell script, which all of this does

sshd and dhcp bind to specific address

2009-08-05 Thread Stefan Miklosovic
hi, my pc gets ip address from dhcp server, but on my pc, there is running sshd. I want to make ssh to listen to only one ip address, but if ip changes due to dhcp, ssh server do not work properly. I know, that dhcp is able to assign ip address to client from some range e.g. 192.168.0.1-254 It

broken firefox port?

2009-08-07 Thread Stefan Miklosovic
hi, while upgrading firefox 3.0.11-1, this error appeared to me: --- Upgrading 'firefox-3.0.11,1' to 'firefox-3.0.13,1' (www/firefox3) --- Building '/usr/ports/www/firefox3' === Cleaning for firefox-3.0.13,1 ** Command failed [exit code 1]: /usr/bin/script -qa

sftp + chrooting users

2009-08-09 Thread Stefan Miklosovic
hi all, I am about chrooting ftp users into theirs home directories. I've following in the end of /etc/ssh/sshd_config Subsystem sftp internal-sftp Match group ftp ChrootDirectory /home X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp

vsftpd with ssl - compile option

2009-08-09 Thread Stefan Miklosovic
hi, I would like to use vsftpd with ssl support. If I install it from ports, there is an option to compile it against ssl librarie(s) (VSFTPD_SSL) If I download it by pkg_fetch and extract the package and use ldd on vsftpd in libexec directory, there is no ssl library, in complied way, there are

vsftpd with ssl

2009-08-10 Thread Stefan Miklosovic
Hi there, I am installing vsftpd server with ssl. It seems it works good, BUT *~:*ftp-tls notebook Trying 127.0.0.1... Connected to localhost. 220 Welcome to miniBSD service. 234 Proceed with negotiation. [Starting SSL/TLS negotiation...] WARNING: Server's certificate issuer's certificate isn't

how to decide if disk / system is quotas capable

2009-08-25 Thread Stefan Miklosovic
hi, I am writing a script in which I want to decide if disk / system is capable to set quotas for user / groups. how to check it? I am thinking about 1) checking enable_quotas=YES in /etc/rc.conf 2) should I try to look in /etc/fstab? There is userquota and / or groupquota in line for some disk

shell command line argument + parsing function

2009-08-30 Thread Stefan Miklosovic
hi, assuming I execute shell script like this $ ./script -c hello world I want to save hello world string to variable COMMENT in shell script. code: #!/bin/sh parse_cmdline() { while [ $# -gt 0 ]; do case $1 in -c) shift COMMENT=$1

Re: shell command line argument + parsing function

2009-08-30 Thread Stefan Miklosovic
hehe :D easy as hell, one has to enclose argument of parse_cmdline into brackets :) parse_cmdline $@ sorry for noise On Mon, Aug 31, 2009 at 1:07 AM, Stefan Miklosovic miklosovic.free...@gmail.com wrote: hi, assuming I execute shell script like this $ ./script -c hello world I want

setquota + geli

2009-09-08 Thread Stefan Miklosovic
hi, I would like to set some quotas with setquota on crypted disk with geli, but if I want to do so - /etc/fstab /dev/ad0s2f.eli /home ufs rw,noatime,userquota,groupquota 2 2 /etc/rc.conf enable_quotas=YES I can edit quotas by edquota, but with setquota

add own program to ports + help with port / program

2009-09-13 Thread Stefan Miklosovic
hi list, I am about writing shell script which adds system account by tens (even hundreds). Info about added accounts is stored in external file which has syntax like this account-name:comment:email-addres Briefly, account-name is name of account comment field is comment which appears in

battery reconditioning

2009-09-28 Thread Stefan Miklosovic
hi list, form time to time, there appears some error / warning messages in console, which say this: Sep 27 23:54:40 dell kernel: aac0: **Monitor** ID(0:02:0); Error Event [command:0x28] Sep 27 23:54:40 dell kernel: aac0: **Monitor** ID(0:02:0); Medium Error [k:0x3,c:0x3,q:0x0] Sep 27 23:54:40

anonymous ftp user only from specific subnet / ips

2009-09-30 Thread Stefan Miklosovic
hi list, I've ftp server, where I want to deny anonymous logins from the outer net, but allow logins of anonymous users from inner net. Normal system users would have ftp access to theirs home directories from both networks. I am using vsftpd, I wanted to configure tcp wrappers, but it does not

erros with raid5 dell poweredge

2009-10-03 Thread Stefan Miklosovic
hi list, today after some work on server, it froze and because I live 50 km far away that server, my buddy has assisted in recovery. After rebooting, he took some photos and wrote me, what he saw / did. Before resetting of server, these messages have been appearing on screen: aac0: COMMAND

error output redirection

2009-10-11 Thread Stefan Miklosovic
hi list, if error output of some program appear on screen, it is possible to print it also to some file simultaneously ? e.g if I cat file which do not exist, error is on screen, I want to add that error to some file (errors.txt) thank you ___

strange quota behaviour

2009-10-18 Thread Stefan Miklosovic
hi list, I am going to add user test in system: ~/:sudo pw useradd test -m then, I am going to check quotas ~/:sudo quota -u -v test Disk quotas for user test (uid 2022): Filesystem usage quota limit grace files quota limit grace /home 36 0 0

Re: strange quota behaviour

2009-10-18 Thread Stefan Miklosovic
hi again, I correct my post, of course I can set quotas for that user, by setquota command, but I cant see quotas for that user, only by repquota. I need to see it by quota command because I write a script where I depend on it. On Sun, Oct 18, 2009 at 2:13 PM, Stefan Miklosovic miklosovic.free

bash instead of csh (completely)

2010-06-04 Thread Stefan Miklosovic
Hi list, title says it, i would like completely remove csh and install bash instead. As far I know, csh is build in system, could I remove it manually and install bash (of course, in reverse order :D) Are there such dependencies on csh? I know that real system scripting is done via /bin/sh co

Re: bash instead of csh (completely)

2010-06-04 Thread Stefan Miklosovic
do it in make install clean way? Change port's make file ? no way . On 6/4/10, Michael Powell nightre...@hotmail.com wrote: Stefan Miklosovic wrote: Hi list, title says it, i would like completely remove csh and install bash instead. As far I know, csh is build in system, could I remove

Re: sysbench / fileio - Linux vs. FreeBSD

2010-06-05 Thread Stefan Miklosovic
/var : ufs with softupdates /usr/obj : zfs with checksums disabled /usr/src : zfs with compression enabled /home : zfs with compression disabled and checksums enabled I ran a test with a blocksize of 8KB and 16 threads. /var : 25.2MB/s /usr/obj : 64.8MB/s /usr/src : 386.3MB/s