WIDE-DHCP

2013-08-13 Thread s m
hello guys, does any body use WIDE-DHCP? i installed it on my freebsd 8.2 but don't know how to configure it. i searched a lot but can not find any useful documentation. please let me know if some body configure it or have some application about. thanks in advance SAM

Re: WIDE-DHCP

2013-08-13 Thread s m
yes, unfortunately it's not well enough for me:(( On Tue, Aug 13, 2013 at 1:32 PM, sth...@nethelp.no wrote: It seems that the distribution includes a directory called db_sample with some tutorials/examples. But it also seems that the last release of wide-dhcp is 16 years old... And I

Re: dhcp server returns core dump when i define network with mask 8

2013-07-23 Thread s m
for broadcast too. is it not true? if yes, why dhcp server works correctly? please help me to clear my mind. regards, SAM On Tue, Jul 23, 2013 at 12:56 PM, Frank Leonhardt fra...@fjl.co.uk wrote: On 23/07/2013 09:03, jb wrote: s m sam.gh1986 at gmail.com writes: ... subnet 192.0.0.0 netmask

dhcp server returns core dump when i define network with mask 8

2013-07-23 Thread s m
hello all, i have a question about dhcpd in freebsd8.2 . when i define my network like below in dhcpd.conf file, server doesn't run correctly and return core dump this is my dhcpd.conf file: ddns-update-style none; log-facility local7; subnet 192.0.0.0 netmask 255.0.0.0 { range 192.0.0.1

does journaling cause DMA-WRITE failure?

2013-07-18 Thread s m
hello all, i have freebsd8.2 on my system with journaled gpt partitions. occasionally, i see the below errors in startup and system doesn't boot correctly. if i restart system, it boot normally and every thing is ok. these errors are: ad3: WARNING - WRITE_DMA requeued due to channel reset

find netmask for offered lease in dhclient code

2013-07-15 Thread s m
hello all, i want to change dhclient code and customize it. in order to do that, i need to know the netmask for offered ip. i see code and found that struct client_lease *offered_leases, keeps information about offered lease such as ip address but this structure hasn't any field about netmask. i

Re: find netmask for offered lease in dhclient code

2013-07-15 Thread s m
thank you so much. it is a hint for me to search more in code. i hope to find something. On Mon, Jul 15, 2013 at 2:04 PM, Olivier Nicole olivier2...@gmail.comwrote: 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

prevent ip conflict in dhcp client

2013-07-11 Thread s m
hello all i have a question about dhcp client. i want to know if there is any way to understand the ip address which is offered by server before it assigned to the interface. i have a freebsd system which one of its interfaces should get ip address from dhcp server whereas other interfaces have

Re: prevent ip conflict in dhcp client

2013-07-11 Thread s m
different address block from that used in your provider's network (there are many address blocks for private networks). And/or you should talk to your admin and discuss the address policy, maybe they can give you a fixed address. Best wishes Eugene -Original Message- From: s m

already active DMA on this device FAILURE at startup

2013-06-29 Thread s m
hello all, i have FreeBSD8.2 on my system. occasionally, i see some strange errors in startup and freebsd can not boot correctly. when i reset my system everything is ok and freebsd boot successfully. these are errors which appear in statrtup: ata1: setting up DMA failed ad3: WARNING - READ_DMA

change specified byte in a hex file

2013-06-03 Thread s m
hi folks, i want to change a specified byte in a hex file. i want to edit my file and change byte 0x28a content from 0x08 to 0x14. i try to do it with hex-editor in windows but this file is too big and i can't transfer it to the other system. i think it should be done by some commands such as dd

Re: change specified byte in a hex file

2013-06-03 Thread s m
thanks Ayan, but isn't there any command in freebsd to do it for me?? On Mon, Jun 3, 2013 at 11:06 AM, Ayan George a...@ayan.net wrote: On 06/03/2013 02:28 AM, s m wrote: hi folks, i want to change a specified byte in a hex file. i want to edit my file and change byte 0x28a content

Re: define more partitions in freebsd

2013-06-02 Thread s m
errors when using it. is there any special option which should be included in kernel in order to use gpart with flag n? any one test it before? thanks in advance, SAM On Sat, Jun 1, 2013 at 8:23 PM, Carl Johnson ca...@peak.org wrote: s m sam.gh1...@gmail.com writes: hello all i want

define more partitions in freebsd

2013-06-01 Thread s m
hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. my question is: how can i define

Re: define more partitions in freebsd

2013-06-01 Thread s m
to 0x14 (which 14 is the number of partitions). do you think it's a good idea and applicable solution? thanks for your attention On 6/1/13, Polytropon free...@edvax.de wrote: On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: hello all i want to install freebsd8.2 on my system. for some reasons, i

Re: define more partitions in freebsd

2013-06-01 Thread s m
command but it says: invalid argument ad3s1. i think because there is no ad3s1!!! now how can i use -n flag to set entries number for my partitioning??? you know it is so important for me :(( any comments or hints are really appreciated. SAM On 6/1/13, Robert Huff roberth...@rcn.com wrote: s m

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

2013-05-28 Thread s m
hello all, i want to install freebsd8.2 with different partitions. i want to have a separated partition for /etc. therefore this is my partitions: / , /var, /etc. /tmp, /usr, swap. but after installing, freebsd can not run correctly and have problem with fstab. i checked my fstab file (fstab

Re: setup journaling for root partition

2013-05-24 Thread s m
wrote: On Thu, 23 May 2013, Torsten Hantzsche wrote: On Thu, 23 May 2013, s m wrote: thanks, i do as you said, but after loading gjournal, dd says operation not permitted. gjournal clear says operation not permitted too and therefore gjournal label is not done and say previous error

Re: setup journaling for root partition

2013-05-23 Thread s m
because root partition can not be unmount in single user mode. any hints or comments are really appreciated. thanks in advance On Thu, May 23, 2013 at 10:41 AM, Michael Sierchio ku...@tenebras.comwrote: On Wed, May 22, 2013 at 10:53 PM, s m sam.gh1...@gmail.com wrote: thanks Michael for your

Re: setup journaling for root partition

2013-05-23 Thread s m
:57:50 +0430 s m wrote: my problem is, i can not run gjournal command for root partition in fixit mode nor single user mode. Just to check, you did boot into single user mode rather than shut-down into single user mode? ___ freebsd-questions

Re: setup journaling for root partition

2013-05-22 Thread s m
? On Wed, May 22, 2013 at 10:23 AM, Michael Sierchio ku...@tenebras.comwrote: On Tue, May 21, 2013 at 10:14 PM, s m sam.gh1...@gmail.com wrote: thanks guys for your attentions. i want to setup journaling in FreeBSD 8.2. i compare soft-update and journaling and choose journaling (it is more

Re: setup journaling for root partition

2013-05-22 Thread s m
not permitted what is wrong here??? i really don't know how to fix it: On Thu, May 23, 2013 at 10:12 AM, Michael Sierchio ku...@tenebras.comwrote: On Wed, May 22, 2013 at 10:27 PM, s m sam.gh1...@gmail.com wrote: thanks Michael, but in all documentation about journaling, tunefs is used

setup journaling for root partition

2013-05-21 Thread s m
hello everybody i want to setup a journal partition for my root partition. but i do not know how to do that. in FreeBSD handbook, it is done in single user mode, unmount the desired partition and assign the journal partition to it. i test this procedure and it is done for /usr partition but for

Re: setup journaling for root partition

2013-05-21 Thread s m
root because i can not unmount it. should i set up journaling in fixit mode with gpart? how? i try different ways but none of them work for me:(( On Tue, May 21, 2013 at 10:36 AM, Michael Sierchio ku...@tenebras.comwrote: On Mon, May 20, 2013 at 10:59 PM, s m sam.gh1...@gmail.com wrote: hello

Re: setup journaling for root partition

2013-05-21 Thread s m
... On 05/21/2013 11:24, s m wrote: thanks Michael this is what i've done (based on the FreeBSD handbook): creating a partition for journal, go to single user mode, unmount desired partition (for example /usr), load gjournal, add journal partition to /usr partition. this procedure works

Re: setup journaling for root partition

2013-05-21 Thread s m
thanks guys for your attentions. i want to setup journaling in FreeBSD 8.2. i compare soft-update and journaling and choose journaling (it is more suitable for my goals). i want to enable journaling for all my partitions. i can do it for all partitions except root in single user mode. i can not

Re: restore /usr dump on two hard disk parallel y

2013-04-30 Thread s m
On Wed, Apr 24, 2013 at 4:46 PM, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: s m sam.gh1...@gmail.com writes: i'm trying to restore DUMP file for partition /usr on tow hard disk parallel y. these two hard are connected to my system (i have freebsd8.2). i use restore

restore /usr dump on two hard disk parallel y

2013-04-24 Thread s m
hello guys i'm trying to restore DUMP file for partition /usr on tow hard disk parallel y. these two hard are connected to my system (i have freebsd8.2). i use restore command and it uses /tmp directory to restore dump. in restoring dump process, two hard disks try to use /tmp directory of my

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

2013-04-16 Thread s m
or not? (for example ping them). i am so confused what is the correct manner. any hints or comments that help to clear it for me, is really appreciated. SAM On 4/4/13, Daniel O'Callaghan da...@clari.net.au wrote: On 4/04/2013 6:41 PM, s m wrote: request packets: src:192.168.2.1 dst

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

2013-04-04 Thread s m
hello guys i am newbie in nat and have some problem with it. i want to nat inside traffic to outside and when i ping outside from inside, every thing is ok and nat is done perfectly. but when i ping inside from outside, request packets are sent without any nat translation while reply packets

Re: how run snort in quiet and deamon mode

2013-03-18 Thread s m
great!! snort -q runs snort in daemon and silent mode as i expected:) thank you so much On 3/17/13, Polytropon free...@edvax.de wrote: On Sun, 17 Mar 2013 12:15:53 +0330, s m wrote: hello guys i have a freebsd8.2 and wanna run snort on it. my snort version is 2.9.3.1. i want to run snort

how run snort in quiet and deamon mode

2013-03-17 Thread s m
hello guys i have a freebsd8.2 and wanna run snort on it. my snort version is 2.9.3.1. i want to run snort in deamon mode and quietly. man page says that D flag is for running snort in deamon mode and q flag is to run it quietly(do not show startup message). my problem is, these two flag can not

backspace shows ^? in serial communication

2013-02-26 Thread s m
hello all, i have problem with backspace in freebsd 8.2. when i run a serial program to communicate via a serial port to the other system, backspace shows ^? in opened terminal. i use termios and fcntl to open, read, write and close serial port. i set erase and erase2 for ttyu2(my serial

Re: backspace shows ^? in serial communications

2013-02-11 Thread s m
...@freebsd.org Wed Feb 6 00:19:04 2013 Date: Wed, 6 Feb 2013 09:44:37 +0330 Subject: backspace shows ^? in serial communications From: s m sam.gh1...@gmail.com To: freebsd-questions freebsd-questions@freebsd.org hi all i have a problem with backspace in serial communications. i have

Re: backspace shows ^? in serial communications

2013-02-06 Thread s m
) show backspace correctly when i connect by different serial programs to router box and run it. thanks On Wed, Feb 6, 2013 at 10:20 AM, Polytropon free...@edvax.de wrote: On Wed, 6 Feb 2013 09:44:37 +0330, s m wrote: hi all i have a problem with backspace in serial communications. i have

backspace shows ^? in serial communications

2013-02-05 Thread s m
hi all i have a problem with backspace in serial communications. i have a freebsd8.2 box with a serial card on it. when i connect to other freebsd box via serial port backspace does not act as i expected. backspace shows ^? on screen. i searched alot and find out that stty has two parameters

expect doesn't work correctly with cu

2012-12-29 Thread s m
hello every body i want to run cu via expect shell script. when i run my script, cu is running and enter its cli. but when i enter a command (like ~s to set variable) manually , this command doesn't execute and cu cli is closed and bash return an error that this command is not valid. this is my

modem communication

2012-12-15 Thread s m
hello guys, please forgive me if my question is not related to this list but i don't know where i should ask about it. i have a freebsd8.2 and wanna talk my modem by com port. when i connect my modem to com port, everything is ok. for some reasons, i have to communicate with modem, run a

set connection to a modem

2012-11-28 Thread s m
hello guys, i want to connect my freebsd system to modem and configure it via my freebsd. i thought that i should change /etc/ttys file to set speed and other configuration. in order to check if i am right or not, i comment ttyu line in ttys file and expect the modem got disconnected but the

Re: set connection to a modem

2012-11-28 Thread s m
On Wed, Nov 28, 2012 at 7:35 PM, Polytropon free...@edvax.de wrote: On Wed, 28 Nov 2012 13:44:18 +0330, s m wrote: hello guys, i want to connect my freebsd system to modem and configure it via my freebsd. For doing _what_ exactly? I ask because depending on your goal there might

getting packets on a specific port by pf

2012-11-08 Thread s m
hello guys i have a problem with getting packets which are diverted to a specific port by PF. i mean i diverted my packets to a specific port by IPFW and want to get these packets by PF to change them. i used ipfw add 1000 divert 8000 all form any to any command to divert my packets. how can i

Re: getting packets on a specific port by pf

2012-11-08 Thread s m
? in my idea this seems just like a throughput bottleneck.. isn't it so? or it's not important here? any how.. if you tell us more details about what you're looking for, may be it become more clear for guys such as me! ;) yours, takcoder On Thu, Nov 8, 2012 at 3:53 PM, s m sam.gh1...@gmail.com

marking packets in IPFW and recognize them in PF

2012-11-06 Thread s m
hello every body i want to mark some of my packets (by tag, mark, divert or anything else) in IPFW and recognize these packets in PF in the same system. please let me know if it is possible and how i can do that. i have freebsd 8.2. if it is impossible in freebsd 8.2, what about freebsd 9? can

config multiport serial card

2012-11-04 Thread s m
hello everybody i have a moxa 4-port serial card and installed it on freebsd8.2 successfully. i have ttyu2-5 in /dev that are moxa ports. my question is how i can use these ports? i add the following lines to ttys file: ttyu2 /usr/libexec/getty std.9600 vt100 on secure ttyu3 /usr/libexec/getty

Re: find slot number and number of ports for each card

2012-10-01 Thread s m
thanks every body for your answers. now i know my path. thanks again On Mon, Oct 1, 2012 at 3:18 PM, Jamie Paul Griffin ja...@kode5.net wrote: [ Devin Teske wrote on Sat 29.Sep'12 at 12:32:04 -0700 ] On Sep 29, 2012, at 7:37 AM, saeedeh motlagh wrote: hello all i want to have

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

2012-09-30 Thread s m
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 sam.gh1...@gmail.com wrote: thanks Fabian for your answer. i don't know what exactly information is needed but i tell what i did up to now. i have two partition

how restore an unencrypted dump on an encrypted file system?

2012-09-29 Thread s m
hello guys, I backed up my freeBSD 8.2 box by dump command and now want to restore this dump file on an encrypted file system (i used geli to encrypt my file system) but do not know how to do that. is there any way or command to restore an unencrypted dump on an encrypted file system? i tried to

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

2012-09-29 Thread s m
restore dump files, FreeBSD doesn't start up correctly. i hope this information help to understand what is wrong. thanks On 9/29/12, Fabian Keil freebsd-lis...@fabiankeil.de wrote: s m sam.gh1...@gmail.com wrote: I backed up my freeBSD 8.2 box by dump command and now want to restore this dump

freebsd on laptop (len problem)

2007-02-04 Thread S. M. Ibrahim \(Lavlu\)
i installed freebsd 6 on a old laptop, it's p3 600 mhz. everthing goes fine, but after installation, my len is not working. It's IBM 10/10 EtherJet CardBus Adapter and connected in pcmci . it's not detected. Any idea ? ___ freebsd-questions@freebsd.org