Re: /usr 100%

2019-08-25 Thread Hadi Motamedi
On 8/25/19, der.hans wrote: > Am 25. Aug, 2019 schwätzte Hadi Motamedi so: > > moin moin Hadi, > > du -sh /usr/* > > That will show you disk usage per directory in /usr/. > > You can then investigate the directories using lots of space. > > You might also verify

/usr 100%

2019-08-25 Thread Hadi Motamedi
Dear All On my server , the "df -m" shows /usr as 100% occupied . How can I find big size files on it to delete someone to free more space ? Thank you

Re: Power Cut

2016-10-30 Thread Hadi Motamedi
Thank you very much for your reply . I got the point and it seems that the /var/log/messages are more handy . Thank you again for your time On Sun, Oct 30, 2016 at 12:36 AM, Gene Heskett wrote: > On Sunday 30 October 2016 02:37:28 Hadi Motamedi wrote: > > > Dear All > > I

Power Cut

2016-10-29 Thread Hadi Motamedi
Dear All I am using a debian server for cdr billing and mediation device on a remote network. I am experiencing problem that I am suspicious it comes from main supply power cut at the remote site. The power supply to the remote site comes from battery charger that will be automatically switched in

Re: disk cloning ?

2013-11-11 Thread hadi motamedi
>>Also, please let us know if you're using encryption, LVM, etc. How can I check for it ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+N+sWgXR2FLMq_J=W30OxGOZR

Re: disk cloning ?

2013-11-11 Thread hadi motamedi
> > What's the output of > > sudo parted -l > Here is the output : #parted -list disk /dev/hda 21.5GB sector : 512B/512B partition : msdos disk : /dev/sdb 40GB sector : 512B/512B partition : msdos error: unable to open /dev/md0 unrecognized disk label. -- To UNSUBSCRIBE, email to debian-user-r

Re: disk cloning ?

2013-11-11 Thread hadi motamedi
>Sounds like you didn't partition the destination drive? How to partition it ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+n+swgo-tdv_s_nykr7ugwmg99+p2vfvjrut

Re: disk cloning ?

2013-11-11 Thread hadi motamedi
>dd if=/dev/sdb1 of=/dev/sdc1 Sorry, I tried for this but getting "no space left on device" What can I do next? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+n+

Re: disk cloning ?

2013-11-11 Thread hadi motamedi
>Better to try smartctl/badblocks/etc to test the health of the new drive >first Sorry, How the smartctl command must be issued to check for the health of the disk ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@li

disk cloning ?

2013-11-11 Thread hadi motamedi
Dear All I needed to clone my disk to another hard drive . I did it as the following : #dd if=/dev/sdb of=/dev/sdc But after a while, the procedure ended with the "writing to /dev/sdc input/output error" message. Can you please let me know how can I overcome this as the fdisk now returns as " #fdis

RE: mount cdrom?

2012-10-16 Thread Hadi Motamedi
> Subject: Re: mount cdrom? > From: ralf.mard...@alice-dsl.net > To: debian-user@lists.debian.org > Date: Wed, 17 Oct 2012 07:51:29 +0200 > > On Wed, 2012-10-17 at 05:37 +0000, Hadi Motamedi wrote: > > > > I found how to install packages from CD, as : > >

RE: mount cdrom?

2012-10-16 Thread Hadi Motamedi
> Date: Wed, 17 Oct 2012 01:06:15 +1300 > From: cbannis...@slingshot.co.nz > To: debian-user@lists.debian.org > Subject: Re: mount cdrom? > > On Sat, Oct 13, 2012 at 11:41:30AM +0000, Hadi Motamedi wrote: > > > > > Actually, for downloading iso images I had

RE: mount cdrom?

2012-10-16 Thread Hadi Motamedi
> Date: Wed, 17 Oct 2012 01:06:15 +1300 > From: cbannis...@slingshot.co.nz > To: debian-user@lists.debian.org > Subject: Re: mount cdrom? > > On Sat, Oct 13, 2012 at 11:41:30AM +0000, Hadi Motamedi wrote: > > > > > Actually, for downloading iso images I had

RE: mount cdrom?

2012-10-16 Thread Hadi Motamedi
> Date: Wed, 17 Oct 2012 01:06:15 +1300 > From: cbannis...@slingshot.co.nz > To: debian-user@lists.debian.org > Subject: Re: mount cdrom? > > On Sat, Oct 13, 2012 at 11:41:30AM +0000, Hadi Motamedi wrote: > > > > > Actually, for downloading iso images I had

RE: mount cdrom?

2012-10-15 Thread Hadi Motamedi
.debian.org > > > Subject: Re: mount cdrom? > > > Date: Sat, 13 Oct 2012 12:37:08 +0100 > > > > > > On Saturday 13 October 2012 11:43:12 Hadi Motamedi wrote: > > > > Brad wrote: > > > >> I wonder why you want to &

Re: mount cdrom?

2012-10-15 Thread Hadi Motamedi
cdrom? > > > Date: Sat, 13 Oct 2012 12:37:08 +0100 > > > > > > On Saturday 13 October 2012 11:43:12 Hadi Motamedi wrote: > > > > Brad wrote: > > > >> I wonder why you want to > > > >> > > > >

Re: mount cdrom?

2012-10-15 Thread Hadi Motamedi
cdrom? > > > Date: Sat, 13 Oct 2012 12:37:08 +0100 > > > > > > On Saturday 13 October 2012 11:43:12 Hadi Motamedi wrote: > > > > Brad wrote: > > > >> I wonder why you want to > > > >> > > > >

FW: mount cdrom?

2012-10-13 Thread Hadi Motamedi
ay 13 October 2012 12:41:30 you wrote: > > > From: lisi.re...@gmail.com > > > To: debian-user@lists.debian.org > > > Subject: Re: mount cdrom? > > > Date: Sat, 13 Oct 2012 12:37:08 +0100 > > > > > > On Saturday 13 October 2012 11:43:1

FW: mount cdrom?

2012-10-13 Thread Hadi Motamedi
ay 13 October 2012 12:41:30 you wrote: > > > From: lisi.re...@gmail.com > > > To: debian-user@lists.debian.org > > > Subject: Re: mount cdrom? > > > Date: Sat, 13 Oct 2012 12:37:08 +0100 > > > > > > On Saturday 13 October 2012 11:43:1

RE: mount cdrom?

2012-10-13 Thread Hadi Motamedi
> Subject: Re: mount cdrom? > From: ralf.mard...@alice-dsl.net > To: debian-user@lists.debian.org > Date: Sat, 13 Oct 2012 14:55:17 +0200 > > On Sat, 2012-10-13 at 10:27 +0000, Hadi Motamedi wrote: > > > Further to say that I have installed it from > > "d

RE: mount cdrom?

2012-10-13 Thread Hadi Motamedi
> From: lisi.re...@gmail.com > To: debian-user@lists.debian.org > Subject: Re: mount cdrom? > Date: Sat, 13 Oct 2012 12:37:08 +0100 > > > > On Saturday 13 October 2012 11:43:12 Hadi Motamedi wrote: > > Brad wrote: > >> I wonder why you want to >

RE: mount cdrom?

2012-10-13 Thread Hadi Motamedi
> Date: Sat, 13 Oct 2012 11:37:19 +0100 > From: b...@fineby.me.uk > To: debian-user@lists.debian.org > Subject: Re: mount cdrom? > > On Sat, 13 Oct 2012 07:53:03 +0000 > Hadi Motamedi wrote: > > Hello Hadi, > > >other cd iso images. Can you please let me

RE: mount cdrom?

2012-10-13 Thread Hadi Motamedi
> Subject: Re: mount cdrom? > From: ralf.mard...@alice-dsl.net > To: debian-user@lists.debian.org > Date: Sat, 13 Oct 2012 10:20:04 +0200 > > On Sat, 2012-10-13 at 07:53 +0000, Hadi Motamedi wrote: > For > > Debian 6.0.6 > the CD should auto-mount without yo

RE: mount cdrom?

2012-10-13 Thread Hadi Motamedi
> Subject: Re: mount cdrom? > From: ralf.mard...@alice-dsl.net > To: debian-user@lists.debian.org > Date: Sat, 13 Oct 2012 10:20:04 +0200 > > On Sat, 2012-10-13 at 07:53 +0000, Hadi Motamedi wrote: > For > > Debian 6.0.6 > the CD should auto-mount without yo

mount cdrom?

2012-10-13 Thread Hadi Motamedi
Dear All I have installed Debian 6.0.6 and I want to install from the packages coming with other cd iso images. Can you please let me know how can I mount my cdrom to read and install packages? I tried as : #mkdir /mnt/cdrom #vi /etc/fstab Modify the following line : /dev/cdrom /mnt/cdrom iso966

RE: fsck -fvy ?

2012-09-29 Thread Hadi Motamedi
> Date: Sat, 29 Sep 2012 14:04:17 +0100 > From: a...@cityscape.co.uk > To: debian-user@lists.debian.org > Subject: Re: fsck -fvy ? > > On Sat 29 Sep 2012 at 12:58:38 +0000, Hadi Motamedi wrote: > > > Thank you for your reply. I got file system inconsistency check

RE: fsck -fvy ?

2012-09-29 Thread Hadi Motamedi
> Date: Sat, 29 Sep 2012 13:52:25 +0100 > From: a...@cityscape.co.uk > To: debian-user@lists.debian.org > Subject: Re: fsck -fvy ? > > On Sat 29 Sep 2012 at 12:37:57 +0000, Hadi Motamedi wrote: > > > Excuse me , I am rebooting my machine by pressing Alt+Ctrl+Del a

RE: fsck -fvy ?

2012-09-29 Thread Hadi Motamedi
> Date: Sat, 29 Sep 2012 13:14:55 +0100 > From: a...@cityscape.co.uk > To: debian-user@lists.debian.org > Subject: Re: fsck -fvy ? > > On Sat 29 Sep 2012 at 12:04:38 +0000, Hadi Motamedi wrote: > > > Thank you very much for your help. But unfortunately, the grub bo

RE: fsck -fvy ?

2012-09-29 Thread Hadi Motamedi
> Date: Sat, 29 Sep 2012 12:37:41 +0100 > From: a...@cityscape.co.uk > To: debian-user@lists.debian.org > Subject: Re: fsck -fvy ? > > On Sat 29 Sep 2012 at 10:43:46 +0000, Hadi Motamedi wrote: > > > Thank you for your reply. Actually , it is a third party applic

RE: fsck -fvy ?

2012-09-29 Thread Hadi Motamedi
> Date: Sat, 29 Sep 2012 11:28:35 +0100 > From: a...@cityscape.co.uk > To: debian-user@lists.debian.org > Subject: Re: fsck -fvy ? > > On Sat 29 Sep 2012 at 08:44:11 +0000, Hadi Motamedi wrote: > > > My server got inconsistency from sudden power cut that I fixed

fsck -fvy ?

2012-09-29 Thread Hadi Motamedi
Dear All My server got inconsistency from sudden power cut that I fixed it with #fsck -fvy /dev/hda at the maintenance prompt . But after reboot, one of the installed applications is preventing it from booting up (as can be seen in the boot up process list). Can you please let me know how can I

RE: /var/spool/mail ?

2012-09-25 Thread Hadi Motamedi
te: Sep 25, 2012 6:50 AM Subject: RE: /var/spool/mail ? To: "Hadi Motamedi" , # echo "" > /var/spool/mail/root will replace the content of the file with an empty string, however you might want to see what has been accumulating there. Usually you get system events noti

RE: /var/spool/mail ?

2012-09-25 Thread Hadi Motamedi
> Date: Tue, 25 Sep 2012 11:13:38 +0100 > From: karl.jorgen...@nice.com > To: debian-user@lists.debian.org > Subject: Re: /var/spool/mail ? > > Hi > > On Tue, Sep 25, 2012 at 10:47:44AM +0100, Hadi Motamedi wrote: > > Dear All > > On my server , the /var/sp

/var/spool/mail ?

2012-09-25 Thread Hadi Motamedi
Dear All On my server , the /var/spool/mail/root is getting very big in size. To free up more space, can you please let me know how can I solve the problem ? Thank you

Re: firewall?

2011-07-20 Thread hadi motamedi
On 7/20/11, Regid Ichira wrote: > hadi motamedi gmail.com> writes: > >> - Add the following line to /etc/sysconfig/iptables >> -A RH-Firewall-1-INPUT -p udp -m udp --dport 53 -j ACCEPT >> Then issue: >> #service iptables restart >> I tried for it and now t

Re: firewall?

2011-07-20 Thread hadi motamedi
On 7/20/11, Johannes Obermueller wrote: > On 07/20/2011 04:00 AM, hadi motamedi wrote: >> On 7/19/11, Regid Ichira wrote: >>> hadi motamedi gmail.com> writes: >>> >>>> I tried for 'iptables -S' but it returned 'unknown arg -S' . T

Re: firewall?

2011-07-19 Thread hadi motamedi
On 7/19/11, Regid Ichira wrote: > hadi motamedi gmail.com> writes: > >> I tried for 'iptables -S' but it returned 'unknown arg -S' . The >> windows machine firewall is turned off. On the windows machine, >> browsing like http://128.31.0.51 is succes

Re: firewall?

2011-07-19 Thread hadi motamedi
On 7/19/11, Regid Ichira wrote: > hadi motamedi gmail.com> writes: > >> >> On 7/18/11, Regid Ichira yahoo.com> wrote: >> > hadi motamedi gmail.com> writes: >> > >> >> >> >> On 7/18/11, Tom Furie furie.org.uk> wrot

Re: firewall?

2011-07-18 Thread hadi motamedi
On 7/18/11, Johannes Obermueller wrote: > On 07/18/2011 05:27 AM, hadi motamedi wrote: >> Dear All >> I have put my windows machine behind my debian firewall server with >> just one NIC. At now, the windows machine can ping 192.9.9.3 but >> cannot resolve valid url (l

Re: firewall?

2011-07-18 Thread hadi motamedi
On 7/18/11, Regid Ichira wrote: > hadi motamedi gmail.com> writes: > >> >> On 7/18/11, Tom Furie furie.org.uk> wrote: >> > On Mon, Jul 18, 2011 at 03:48:14AM -0400, hadi motamedi wrote: >> > >> >> I have set the same DNS on both my debian fi

Re: firewall?

2011-07-18 Thread hadi motamedi
On 7/18/11, Tom Furie wrote: > On Mon, Jul 18, 2011 at 03:48:14AM -0400, hadi motamedi wrote: > >> I have set the same DNS on both my debian firewall and windows macine. > > And that would be what? You can ping an IP address from Windows, but > can't resolve names.

Re: firewall?

2011-07-18 Thread hadi motamedi
On 7/18/11, Stan Hoeppner wrote: > On 7/18/2011 2:12 AM, hadi motamedi wrote: > >> Yes, you are right. I have set for the DNS on my windows machine but >> it cannot still browse valid ulr. > > What IP address did you plug into the Windows machine toi use for DNS > r

Re: firewall?

2011-07-18 Thread hadi motamedi
On 7/18/11, Csanyi Pal wrote: > hadi motamedi writes: > >> On 7/18/11, Csanyi Pal wrote: >>> hadi motamedi writes: >>> >>>> Dear All >>>> I have put my windows machine behind my debian firewall server with >>>> just one N

Re: firewall?

2011-07-17 Thread hadi motamedi
On 7/18/11, Csanyi Pal wrote: > hadi motamedi writes: > >> Dear All >> I have put my windows machine behind my debian firewall server with >> just one NIC. At now, the windows machine can ping 192.9.9.3 but >> cannot resolve valid url (like www.google.com). I have

firewall?

2011-07-17 Thread hadi motamedi
Dear All I have put my windows machine behind my debian firewall server with just one NIC. At now, the windows machine can ping 192.9.9.3 but cannot resolve valid url (like www.google.com). I have set DNS for it as well. Can you please let me know what is the missing step? Thank you -- To UNSUBS

Re: ftp problem?

2011-06-07 Thread hadi motamedi
On 6/7/11, Atıf CEYLAN wrote: > You need proftpd, pureftpd or vsftpd like ftp server. > > On 06/07/2011 09:46 AM, hadi motamedi wrote: >> Dear All >> I cannot ftp to my debian server from MS Windows machine ,but ping >> and telnet are ok. I checked as the follow

ftp problem?

2011-06-06 Thread hadi motamedi
Dear All I cannot ftp to my debian server from MS Windows machine ,but ping and telnet are ok. I checked as the following : #chkconfig tftp on #setup After enabling tftp service, still the ftp is not ok but ping & telnet are ok. Can you please help me? Thank you -- To UNSUBSCRIBE, email to debi

Re: Internet connection sharing?

2011-03-09 Thread hadi motamedi
On 3/8/11, Camaleón wrote: > On Tue, 08 Mar 2011 16:21:17 +0330, hadi motamedi wrote: > >> On 3/8/11, Camaleón wrote: > >>> As root: >>> >>> route add default gw 192.168.0.1 eth0 > > (...) > >> Thank you for your reply. The Windows machine

Re: Internet connection sharing?

2011-03-08 Thread hadi motamedi
On 3/8/11, Camaleón wrote: > On Tue, 08 Mar 2011 12:55:02 +0330, hadi motamedi wrote: > >> My debian machine is connected to my MS Windows machine on the net.The >> MS Windows machine is connected to Internet via valid IP address setting >> and on its secondary ip addre

Internet connection sharing?

2011-03-08 Thread hadi motamedi
Dear All My debian machine is connected to my MS Windows machine on the net.The MS Windows machine is connected to Internet via valid IP address setting and on its secondary ip address setting it can see my debian machine on the intranet.Can you please let me know how can try for Internet connectio

Re: please correct me on my code?

2010-12-04 Thread hadi motamedi
On 12/5/10, Bob Proulx wrote: > > That beginning space I think is going to cause problems when using cut > since cut is very literal about its definition of fields. > >> SNMP >.. > > No leading space here. I think that means you want to use awk instead. > >> #cat Edit3 | tr -d "\r" | while read L

please correct me on my code?

2010-12-03 Thread hadi motamedi
Dear All On my Debian server, I need to separate the individual logs coming from various modules concurrently. Please find below a sample of the logs: ' IPTR >.. Read Subscript: 153 Write Subscript: 154 Port: 4972 Current time: Tue Nov 23 15:33:53 2010 Sent packet to 172.18.99.1 4972 #0 packet is

Re: how to create a new partition for installing another os?

2010-08-10 Thread hadi motamedi
On Tue, Aug 10, 2010 at 12:19 PM, Camaleón wrote: > > Better than "fdisk", use "cfdisk" or "gparted" to create partitions. > > Show us what is the output of "fdisk -l". > > Greetings, > > -- > Camaleón > > > -- > Please find below the output of 'fdisk -l' : #fdisk -l /dev/sda Disk /dev/sda: 250.

how to create a new partition for installing another os?

2010-08-09 Thread hadi motamedi
Dear All My Debian server shows three primary partitions and one extended partition but when I try to add a new partition via fdisk for installing another os it is returning as 'no free sectors available' . It seems that I have a vast amount of free space on my disk so please let me know why I cann

Re: how to dual boot debian with redhat?

2010-08-07 Thread hadi motamedi
On Tue, Aug 3, 2010 at 5:55 PM, Joao Ferreira gmail < joao.miguel.c.ferre...@gmail.com> wrote: > On Tue, 2010-08-03 at 16:22 +0430, hadi motamedi wrote: > > Dear All > > On my debian machine, I need to install redhat on one of its > > partitions and so make it dual b

Re: how to dual boot debian with redhat?

2010-08-07 Thread hadi motamedi
On Tue, Aug 3, 2010 at 5:55 PM, Joao Ferreira gmail < joao.miguel.c.ferre...@gmail.com> wrote: > On Tue, 2010-08-03 at 16:22 +0430, hadi motamedi wrote: > > Dear All > > On my debian machine, I need to install redhat on one of its > > partitions and so make it dual b

Re: how to dual boot debian with redhat?

2010-08-07 Thread hadi motamedi
On Tue, Aug 3, 2010 at 5:55 PM, Joao Ferreira gmail < joao.miguel.c.ferre...@gmail.com> wrote: > > Hello, > > the process should be quite straightforward. > > 1st u need to make sure you have a free partition with no relevant data > on it (partition to instal RH). > > then you simply start install

how to dual boot debian with redhat?

2010-08-03 Thread hadi motamedi
Dear All On my debian machine, I need to install redhat on one of its partitions and so make it dual boot . Can you please let me know how this can be accomplished? Thank you

Re: autoexpect?

2010-05-31 Thread hadi motamedi
$ apt-file search bin/autoexpect > expect-dev: /usr/bin/autoexpect > > Thank you very much. I got the point.

autoexpect?

2010-05-30 Thread hadi motamedi
Dear All I have received a new debian server that does contain 'expect' but it does not contain 'autoexpect' . Is there any way to add 'autoexect' to it? Thank you

Re: ColdFire Debian kernel image?

2010-05-26 Thread hadi motamedi
> This list is likely the wrong place to ask. Ask here instead: > > debian-...@lists.debian.org > > > > Dear All According to you , I asked it on the 68k list but no reply received till now . Can you please let me know how to obtain Debian kernel for ColdFire platform?

Re: ColdFire Debian kernel image?

2010-05-24 Thread hadi motamedi
This list is likely the wrong place to ask. Ask here instead: > > debian-...@lists.debian.org > > > > Thank you very much for your comment. I forwarded my inquiry to the address you mentioned.

ColdFire Debian kernel image?

2010-05-23 Thread hadi motamedi
Dear All Can you please let me know where can I find minimum size Debian kernel image for my virtual qemu ColdFire platform? I checked Debian site but I didn't find Motorola-based architecture kernel image. Thank you in advance

Re: How to schedule for a repeated task?

2010-05-09 Thread hadi motamedi
> regexp in the expected patterns. Try the simplest expect script, i.e, one > that only logs in and logs out. > > > Thank you very much for your reply. I got help from your comment regarding try for a simple script that just logs in and logs out. I tried for it and I saw that it does not require hi

Re: How to schedule for a repeated task?

2010-05-09 Thread hadi motamedi
> Well I see the problem. The autogenerated expect script is waiting for > the exact output of ShowStats that it had the first time you ran > autoexpect, which I assume will be different every time, not the same. > expect --exact "ShowStats\r ...blah blah lots of stats ... BSC1_1_1-> " > expect "B

Re: How to schedule for a repeated task?

2010-05-07 Thread hadi motamedi
node? Before? I'd really need to look at the script you are using, the > one produced by the autoexpect session, but you could try either sending > an extra `exit' string or sending a control-C (send \003) > Take a look here¹ for more ASCII Control Characters. > When exactly you need to press Contr

How to schedule for a repeated task?

2010-05-06 Thread hadi motamedi
> If issuing the commands manually produces the desired output, you > could try autoexpect¹ and edit the output of running an autoexpect > session to your liking. There is a manual page too². > > Thank you very much for your help . This is very near to what I really want to do . I tried as the foll

Re: How to schedule for a repeated task?

2010-05-05 Thread hadi motamedi
> > Try adding: > > expect "% " > > or whatever the command prompt is, such as "$ " or "# " before sending the > commands. > > > > Thank you for your reply. You were right . So I added the following : >expect "->" So it will wait for the system prompt . But still I cannot see any output from result

Re: How to schedule for a repeated task?

2010-05-05 Thread hadi motamedi
> It doesn't matter what the remote system is, as long as it has telnet, > which I'm assuming it does, since that's what you originally asked about. > To be able to help, we would need to know the output you are getting when > you run it, and probably the contents of the expect script that you are

How to schedule for a repeated task?

2010-05-04 Thread hadi motamedi
>>telnet, as in the original responses. Google gives several example scripts With many thanks for your reply, I found very simple expect telnet examples (like the case that I am dealing with) so I wrote for the same but it doesn't work my case. Do you think it may come from the fact that the remot

Re: How to schedule for a repeated task?

2010-05-03 Thread hadi motamedi
password. Then just execute "ssh usern...@remote.server somecommand" and it > will run "somecommand" and the output will be sent back to you. > > > > Thank you for your reply. Please be informed that I didn't have success in activating ssh on my remote node VxWorks. According to your comment, I w

How to schedule for a repeated task?

2010-05-02 Thread hadi motamedi
Dear All I need to schedule for a repeated task on my Debian server, as the followings: -) Telnet to a remote node -) Issue a command -) Capture the output in a log -) Logout from Telnet -) Wait for a prescribed time interval -) Then redo , but append the subsequent output in just on file Can you p

RE: how to open a port?

2010-03-05 Thread Hadi Motamedi
Try running 'netstat -nat | grep 4965' and paste the output. Also, try running iptables -L and post the output. Try telnetting from the local machine that runs iptrans. Maybe something is blocking the outbound traffic on that machine or somehow it's not getting through. As there is another

RE: how to open a port?

2010-03-03 Thread Hadi Motamedi
> > What daemon do you have listening on TCP 4965? > > -- > Stan > It is 'iptrans' , as listed by 'netstat -apn |grep 4965' . _ Hotmail: Powerful Free email with security by Micr

RE: how to open a port?

2010-03-03 Thread Hadi Motamedi
> Date: Wed, 3 Mar 2010 02:05:26 -0600 > From: ron.l.john...@cox.net > To: debian-user@lists.debian.org > Subject: Re: how to open a port? > > Are you sure the port is blocked? Are you sure you have your > firewall activated? I tried to scan it , as the following : #nmap -sS -p 4965 172.1

how to open a port?

2010-03-02 Thread Hadi Motamedi
Dear All On my Lenny , I want to open tcp port 4965 but my server does not contain /etc/sysconfig/iptables . Can you please let me know how to open this port ? Thank you _ Your E-mail and More

RE: Upgrade to Lenny?

2010-02-28 Thread Hadi Motamedi
> > > For the cdrom > > mount /cdrom will normally do it as well. I tried as 'mount /media/cdrom' and it got through . > > > As a matter of interest, which country are you in? > I am posting from IRAN . > > tshark -r > Thank you . I tried as 'tshark output.pcap' and it got through

RE: Upgrade to Lenny?

2010-02-27 Thread Hadi Motamedi
From: motamed...@hotmail.com To: cele...@gmail.com; debian-user@lists.debian.org Subject: RE: Upgrade to Lenny? Date: Sun, 28 Feb 2010 05:23:32 + > Thank you very much you kind guys . At now , I have the tshark installed on my Lenny . But I want to analyze my previously capture

RE: Upgrade to Lenny?

2010-02-27 Thread Hadi Motamedi
> Date: Sat, 27 Feb 2010 21:24:34 -0500 > From: cele...@gmail.com > To: debian-user@lists.debian.org > Subject: Re: Upgrade to Lenny? > > On Sat, 27 Feb 2010 07:47:05 -0800 > ow...@netptc.net wrote: > > [lots of quoted stuff] > > People, trim please! > > Celejar > -- > foffl.sourceforge.n

RE: Upgrade to Lenny?

2010-02-27 Thread Hadi Motamedi
> Date: Sat, 27 Feb 2010 11:16:43 + > From: amaca...@galactic.demon.co.uk > To: debian-user@lists.debian.org > Subject: Re: Upgrade to Lenny? > > On Sat, Feb 27, 2010 at 10:55:12AM +0000, Hadi Motamedi wrote: > > > > Thank you . I modified my Le

RE: Upgrade to Lenny?

2010-02-27 Thread Hadi Motamedi
> Date: Sat, 27 Feb 2010 10:28:53 + > From: amaca...@galactic.demon.co.uk > To: debian-user@lists.debian.org > Subject: Re: Upgrade to Lenny? > > On Sat, Feb 27, 2010 at 09:13:26AM +0000, Hadi Motamedi wrote: > > > > > > It is now running versio

RE: Upgrade to Lenny?

2010-02-27 Thread Hadi Motamedi
> From: b...@iguanasuicide.net > To: debian-user@lists.debian.org > Subject: Re: Upgrade to Lenny? > Date: Sat, 27 Feb 2010 01:03:59 -0600 > > In , Hadi Motamedi wrote: > >I upgraded my > > Debian box from Sarge to Lenny . > > Did you read the Release

Upgrade to Lenny?

2010-02-26 Thread Hadi Motamedi
Dear All According to your previous replies on my 'tcpdump' inquiry , I upgraded my Debian box from Sarge to Lenny . It is now running version 5.0.4 . But surprisingly I cannot connect it to Internet , as I did previously . I am trying as the followings : #ifconfig eth0 ip-address netmask ne

RE: netstat ?

2010-02-24 Thread Hadi Motamedi
> Date: Wed, 24 Feb 2010 10:14:33 + > From: j...@debian.org > To: debian-user@lists.debian.org > Subject: Re: netstat ? > > On Wed, Feb 24, 2010 at 08:12:57AM +0000, Hadi Motamedi > wrote: > > But I cannot see any human readable text being captured . > >

RE: netstat ?

2010-02-24 Thread Hadi Motamedi
> Date: Wed, 24 Feb 2010 18:44:12 +1100 > Subject: RE: netstat ? > From: t...@clewlow.org > To: debian-user@lists.debian.org > > >> > >> tcpdump host 172.16.4.1 -XX > >> > >> if you want to save the data in a file for later analysis > >> > >> tcpdump host 172.16.4.1 -XX >> somefile > >> > >>

RE: netstat ?

2010-02-23 Thread Hadi Motamedi
> Date: Wed, 24 Feb 2010 18:17:11 +1100 > Subject: RE: netstat ? > From: t...@clewlow.org > To: debian-user@lists.debian.org > > >> > >> In , Hadi Motamedi > >> wrote: > >> >My Debian server is at @172.16.128.1 and the remote network >

RE: netstat ?

2010-02-23 Thread Hadi Motamedi
> From: b...@iguanasuicide.net > To: debian-user@lists.debian.org > Subject: Re: netstat ? > Date: Tue, 23 Feb 2010 23:59:41 -0600 > > In , Hadi Motamedi wrote: > >My Debian server is at @172.16.128.1 and the remote network element is at > > @172.16.4.1 , but t

netstat ?

2010-02-23 Thread Hadi Motamedi
Dear All My Debian server is at @172.16.128.1 and the remote network element is at @172.16.4.1 , but the 'netstat' does not show the ip address and the assigned port from my Debian . It just shows many dedicated ports , assigned with '0.0.0.0:xx' format . Can you please let me know how can I d

RE: Decompiler?

2010-02-22 Thread Hadi Motamedi
an-user@lists.debian.org > >Subject: RE: Decompiler? > >Date: Mon, 22 Feb 2010 05:11:07 + > > > >> > >> > >> > >> > >>> Date: Sun, 21 Feb 2010 07:28:01 -0500 > >>> From: zlinux...@wowway.com > >>&g

RE: /var/log/messages(dmesg) ?

2010-02-22 Thread Hadi Motamedi
> Date: Mon, 22 Feb 2010 10:00:57 -0500 > From: zlinux...@wowway.com > To: debian-user@lists.debian.org > Subject: Re: /var/log/messages(dmesg) ? > > On Mon, 22 Feb 2010 05:41:04 -0500 (EST), Hadi Motamedi wrote: > +1+2+3+4+

RE: /var/log/messages(dmesg) ?

2010-02-22 Thread Hadi Motamedi
> Date: Mon, 22 Feb 2010 11:21:01 + > From: j...@debian.org > To: debian-user@lists.debian.org > Subject: Re: /var/log/messages(dmesg) ? > > On Mon, Feb 22, 2010 at 10:41:04AM +0000, Hadi Motamedi > wrote: > > My Debian server got hung and when I tried to pow

RE: Decompiler?

2010-02-22 Thread Hadi Motamedi
> From: mgb-deb...@yosemite.net > To: debian-user@lists.debian.org > Subject: Re: Decompiler? > Date: Mon, 22 Feb 2010 02:18:51 -0800 > > On Sun February 21 2010 23:42:19 Hadi Motamedi wrote: > > Thanks . As I don't want to completely analyze the whole of the p

/var/log/messages(dmesg) ?

2010-02-22 Thread Hadi Motamedi
Dear All My Debian server got hung and when I tried to power cycle it , I checked its /var/log/messages & /var/log/dmesg with respect to the time of fault occurance to see what was really happened . But its 'messages' log does not show anything recorded for about 30 minutes before its recovery

RE: Decompiler?

2010-02-21 Thread Hadi Motamedi
gt;> To: debian-user@lists.debian.org > >> Subject: Re: Decompiler? > >> > >> On Sun, 21 Feb 2010 05:06:21 -0500 (EST), Hadi Motamedi wrote: > >> > > >> > Dear All > >> > > >> > I have disassembled the object file on my Deb

RE: Decompiler?

2010-02-21 Thread Hadi Motamedi
> Date: Sun, 21 Feb 2010 22:41:46 -0800 > From: and...@farwestbilliards.com > To: debian-user@lists.debian.org > Subject: Re: Decompiler? > > On Mon, Feb 22, 2010 at 05:11:07AM +0000, Hadi Motamedi wrote: > [... snip nice explanation of why this won't work...] >

RE: tcpdump?

2010-02-21 Thread Hadi Motamedi
> Date: Mon, 22 Feb 2010 07:21:30 +1100 > From: a...@samad.com.au > To: debian-user@lists.debian.org > Subject: Re: tcpdump? > > On Sun, Feb 21, 2010 at 04:55:11AM +0000, Hadi Motamedi wrote: > > > > > > > > [snip] > > > > > >

RE: tcpdump?

2010-02-21 Thread Hadi Motamedi
> Date: Sun, 21 Feb 2010 18:11:31 + > From: tzaf...@cohens.org.il > To: debian-user@lists.debian.org > Subject: Re: tcpdump? > > On Sat, Feb 20, 2010 at 06:05:50AM +0000, Hadi Motamedi wrote: > > > > Dear All > > I have put tcpdump trace on po

RE: Decompiler?

2010-02-21 Thread Hadi Motamedi
> Date: Sun, 21 Feb 2010 07:28:01 -0500 > From: zlinux...@wowway.com > To: debian-user@lists.debian.org > Subject: Re: Decompiler? > > On Sun, 21 Feb 2010 05:06:21 -0500 (EST), Hadi Motamedi wrote: > > > > Dear All > > > > I have disassembled th

Decompiler?

2010-02-21 Thread Hadi Motamedi
Dear All I have disassembled the object file on my Debian server , by the following : #objdump wmain In the output , I have recognized the intended subroutine that I need to find the exact command syntax that it sends out . To this end , I asked you guys on how to capture it through 'tcpdump'

RE: tcpdump?

2010-02-20 Thread Hadi Motamedi
> Date: Sat, 20 Feb 2010 17:51:33 +0200 > From: brentgclarkl...@gmail.com > To: debian-user@lists.debian.org > Subject: Re: tcpdump? > > On 20/02/2010 12:48, Hadi Motamedi wrote: > > > > I tried for the following : > > #tcpflow -c port 4957 > >

  1   2   >