Re: find netmask for offered lease in dhclient code

2013-07-15 Thread saeedeh motlagh
thanks Olivier, but may i ask you to explain it more? i have seen that there is a struct option_data in offered_lease in code but when these options set, how can i see the netmask value? where is it kept? On Mon, Jul 15, 2013 at 1:43 PM, Olivier Nicole wrote: > Hi, > > > i want to change dhclie

Re: define more partitions in freebsd

2013-06-02 Thread saeedeh motlagh
thanks Carl, i tried your your manual step by steps on FreeBSD8.2 but error happened. this is what i've done: gpart create -s MBR ad3 ad3 created gpart add -t freebsd ad3 ad3s1 added gpart create -s BSD -n 20 ad3s1 gpart: geom 'ad3s1': File Exists if i do not run the second command and run the th

Re: define more partitions in freebsd

2013-06-02 Thread saeedeh motlagh
thanks RW, do you have any suggestions how i can do that? with gpart command? On Sun, Jun 2, 2013 at 3:51 PM, RW wrote: > On Sun, 2 Jun 2013 11:35:58 +0430 > s m wrote: > > > thanks guys, > > > > i understand another solution is GPT partitioning. but i prefer to > > have more partitions in trad

Re: freebsd8.2 with /etc mount point can't run correctly

2013-05-28 Thread saeedeh motlagh
thanks Trond but i think it can not help me. you know i want to separate my /etc completely from root. for some reasons, i want to unmount /etc while root is mounted. by your procedure, i think /etc is dependent to root yet. isn't it? On Tue, May 28, 2013 at 1:16 PM, Trond Endrestøl < trond.end

when root partition is mounted in boot time?

2013-05-27 Thread saeedeh motlagh
hello all, i have a question about root partition. i want to know when this partition is mounted in bootstrap process? is root mounted before kernel loading? more over, i heard that root partition is mounted read-only in boot process before loading kernel. after that kernel is loaded and all othe

Re: file corruption solution (soft-update or ZFS)

2013-05-23 Thread saeedeh motlagh
ch is more suitable for my server. using soft-update or ZFS. please help me to select the best one. thank you so much On Thu, May 23, 2013 at 4:28 PM, Warren Block wrote: > On Thu, 23 May 2013, saeedeh motlagh wrote: > > hello every body >> >> i have a question about fixing

file corruption solution (soft-update or ZFS)

2013-05-23 Thread saeedeh motlagh
hello every body i have a question about fixing file corruption in freebsd. now i have freebsd8.2 and some times file corruption happened on it. this issue has a heavy cost for me and i want to avoid it or fixit it completely. so my question is: is it better to upgrade my freebsd to 9.1 and use

Re: setup journaling for root partition

2013-05-21 Thread saeedeh motlagh
thanks Julien, but i think it's not true. man page for newfs seys that journaling is done via gjournal and in freebsd handbook it says do journaling with gjournal for UFS file system. you mean i should create a partition and just enable journaling for it with -J flag? i think my problem is, my gj

Re: Fwd: how access inside from outside when nat is done from inside to outside

2013-04-18 Thread saeedeh motlagh
hi sam i do not know what is the exactly correct manner in freebsd, but it think based on definition for NAT, you should not be able to access inside systems from outside unless you have port direction. On Tue, Apr 16, 2013 at 11:35 AM, s m wrote: > thanks Danny, but i'm using pf to define rule

backspace doesn't work correctly with termios

2013-02-11 Thread saeedeh motlagh
hi all i have problem with backspace in serial communication. this is my scenario: i have three box. box number 1 is windows system, number 2 is freeBSD8.2 and number 3 is cisco router. from box number 1 i connect to the box number 2 by putty and run a serial program on box number 2 that connects

plink can not work with serial port

2012-12-29 Thread saeedeh motlagh
hello guys i have a problem with putty and plink. i want to connect to a modem via serial port by putty. when i run the below command, every thing is ok and modem responds me. putty -v -serial -sercfg 8,1,115200,n,R /dev/ttyu2 but when i run the below command modem doesn't respond to me. plink

redirect incoming telnet to com port

2012-12-03 Thread saeedeh motlagh
hello everybody i have freebsd8.2. i want to redirect incoming telnet from telnet port to a com port. i mean if somebody telnet to my system with a specific port (or 22 which is default telnet port), connect to com port and can talk to modem (something like cisco). is it possible or not? any hi

Re: set connection to a modem

2012-12-01 Thread saeedeh motlagh
thanks Ilya for your reply. i'm using putty to connect to my modem and also/dev/cuauo as the config file. i can co nnect to my modem and it responses to AT commands that you suggest so every thing is ok. my question is: this connection via /dev/cuau0 can be configured, doesn't it? and if yes, th

Re: how restore an unencrypted dump on an encrypted file system?

2012-09-30 Thread saeedeh motlagh
hi i have a similar problem too. can you explain in detail what you have done step by step? i wanna know if my problem is exactly what you have. thanks On 9/29/12, s m wrote: > thanks Fabian for your answer. i don't know what exactly information > is needed but i tell what i did up to now. > >

find slot number and number of ports for each card

2012-09-29 Thread saeedeh motlagh
hello all i want to have statistics about my hardware specially the type of card that are installed on my system, the number of ports that each card has and the slot number which cards are installed. i can find the slot number by tracing the output of dmesg but it's time consuming job. more over,

Re: have desktop on freebsd

2012-09-21 Thread saeedeh motlagh
thanks Sean, no X doesn't work correctly for me. thanks Brian, but this freebsd box is my develop system and i have to work with it and no other OS. thanks Michael, i compiled X11 and Gnome from ports. I'm thinking to install everything from the beginning if i can not fix it in two days. thank

Re: have desktop on freebsd

2012-09-20 Thread saeedeh motlagh
x27;t have desktop yet. i don't know what to do and search for what, because there is no error. please tell me if you have any idea about it. thanks On 9/19/12, Bernt Hansson wrote: > 2012-09-19 07:23, saeedeh motlagh skrev: >> thanks Bernt, i deinstall it and then try start

Re: have desktop on freebsd

2012-09-18 Thread saeedeh motlagh
becuase i don't have any idea anymore. thanks On 9/18/12, Bernt Hansson wrote: > 2012-09-17 07:39, saeedeh motlagh skrev: >> my video card is intel, you mean i should change my driver to intel? >> could you please tell me how to do that? i change my driver type from >> fbdev

Re: have desktop on freebsd

2012-09-18 Thread saeedeh motlagh
thanks dude, yes Steve i copied it. thanks Jamie, ok i'll try it and inform you results. On 9/18/12, Jamie Paul Griffin wrote: > ... just to quickly add, X installs a simple window manager called twm. Just > to test further, before installing another window manager/desktop put exec > twm in you

Re: have desktop on freebsd

2012-09-18 Thread saeedeh motlagh
error occurred. i really don't know how to fix it:(. have you any suggestion? i need desktop on my BSD box. On 9/18/12, Jamie Paul Griffin wrote: > [ saeedeh motlagh wrote on Tue 18.Sep'12 at 9:40:16 +0430 ] > >> thanks Jamie, i changed my driver to intel and modules ar

Re: have desktop on freebsd

2012-09-17 Thread saeedeh motlagh
le fbdevhw does not have a fbdevhwModuleData data object" i looked in xorg log file and see that there is an error in libfbdevhw.so which is in /usr/local/lib/xorg/modules/linux path. do you know how i can fiix it?? thank you for your attention On 9/17/12, Jamie Paul Griffin wrote: >

Re: have desktop on freebsd

2012-09-16 Thread saeedeh motlagh
aking mistake and how to fix it. thanks On 9/16/12, Stephan Schindel wrote: > Am 16.09.2012 13:59, schrieb saeedeh motlagh: >> *hello guys, >> >> i installed freebsd8.2 and upgraded my portsnap.then i installed X11 and >> gnome2 and configured x11 but it does not work

have desktop on freebsd

2012-09-16 Thread saeedeh motlagh
*hello guys, i installed freebsd8.2 and upgraded my portsnap.then i installed X11 and gnome2 and configured x11 but it does not work correctly. when i run startx command, it has the following error: failed to load module "fbdev" when i install fbdev from /x11-drivers/xf86-video-fbdev the other e

what is the path of kernel build directory?

2012-04-05 Thread saeedeh motlagh
hello guys i want to install the openvswitch 1.4.0 from a linux package. the below command should be executed: ./configure --with-linux=/lib/modules/'uname -r '/build this is a linux command and i should execute the FreeBSD equivalent but i don't know how to do that. the manual says: To build t

Re: bridging

2011-12-12 Thread saeedeh motlagh
i solve it:) the stp should be running on all interfaces On Mon, Dec 12, 2011 at 11:43 AM, saeedeh motlagh wrote: > yes, with any two interfaces the bridge works well. tcpdump show these > messages when i configure bridge with more than 2 interfaces: > 14:52:57.771505 ARP, Reques

Re: bridging

2011-12-12 Thread saeedeh motlagh
ands in rc.conf file: cloned_interfaces="bridge0" ifconfig_bridge0="addm igb1 addm igb2 addm gbeth1 up" but nothing changed. On Mon, Dec 12, 2011 at 10:40 AM, Da Rock < freebsd-questi...@herveybayaustralia.com.au> wrote: > On 12/12/11 15:49, saeedeh motlagh wrote:

Re: bridging

2011-12-11 Thread saeedeh motlagh
addm gbeth1 up what is wrong here? it's so necessary for me to doing this:( On Sun, Dec 11, 2011 at 5:16 PM, Da Rock < freebsd-questi...@herveybayaustralia.com.au> wrote: > On 12/11/11 23:31, saeedeh motlagh wrote: > >> hello everybody >> i have a problem in brid

bridging

2011-12-11 Thread saeedeh motlagh
hello everybody i have a problem in bridging my interfaces. i want to bridge my 4 interfaces and make switching in freebsd box but in doesn't work. with two interfaces the bridge works well and pass the traffic but for four interfaces in doesn't what is expected. you know i want to have a freebsd s

Re: changing baud rate without recompiling

2011-11-12 Thread saeedeh motlagh
sure, thanks. On 11/12/11, Manolis Kiagias wrote: > On 12/11/2011 1:02 μμ, saeedeh motlagh wrote: >> thanks for your reply >> it's good but includes recompiling again. i don't want to recompile in >> any way. is there any other solution for doing that? i don

Re: changing baud rate without recompiling

2011-11-12 Thread saeedeh motlagh
Kiagias wrote: > On 9/11/2011 11:11 πμ, saeedeh motlagh wrote: >> i know adding the "COM_CONSOLE_SPEED=115200" to make.conf and >> recompile it, change the baud rate but i want to know if there is a >> way to change it without recompiling. >> please let me know

Fwd: changing baud rate without recompiling

2011-11-10 Thread saeedeh motlagh
On Thu, Nov 10, 2011 at 11:48 AM, saeedeh motlagh wrote: > hi > thanks for your answer. the output of "ps ax | grep getty" is: > 1357 u0 Is+0:00.00 /usr/libexec/getty std.115200 ttyu0 > i think it's true. isn't it? but the stty -f /dev/ttyu0 shows 9600 and

changing baud rate without recompiling

2011-11-09 Thread saeedeh motlagh
hi i wanna have serial console communication with the other system. i want to have baud rate 115200 for this communication but the default is 9600. i test the following options but the baud rate is 9600 yet: - add the following commands to the /boot/loader.conf file: boot_multicons=”YES” boot