Re: modem reset

2011-02-25 bef zés Gabor E. Tusnady
En smsmtools-t hasznalok, annal is "lefagy" (ha jol ertettem, akkor a
kernel idorol-idore mas ttyUSB-re rakja at, ez okozza problemat).
Ilyenkor nalam a kovetkezo script segit:

#!/bin/bash

service smstools stop
dev=$(ls -1 /dev/ttyU* | head -1 | sed -e 's/\//\\\//g')
cat /etc/smsd.conf | sed -e "s/ \/dev\/ttyUSB[0-9]/ $dev/g" > /etc/smsd.conff
cp /etc/smsd.conff /etc/smsd.conf
service smstools start

Azaz az smsd configjaban a korabbi /dev/ttyUSBx sort lecserelem az
aktualis ttyUSBy-ra.

Udv
tusi

On Fri, 2011-02-25 at 11:10 +0100, Gergely Tamás wrote:
> Sziasztok!
> 
> Egy távoli gépbe be van dugva egy Huawei E153-as usb modem, ami sms 
> -eket küld.
> A problémám, hogy néha- néha "lefagy" a modem, nem látja a gammu.
> Ilyenkor segít egy reboot, de nem nagyon kellene a gépet újraindítgatni.
> Le lehet választani és utána felmountolni a modemet újra?
> Vagyis biztos hogy lehet, csak hogyan? És ez megoldja a problémámat, 
> vagyis hogy reseteli
> a modemet?
> 
> Köszi!
> 
> GT.
> _
> linux lista  -  linux@mlf.linux.rulez.org
> http://mlf2.linux.rulez.org/mailman/listinfo/linux


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

atachment szures

2011-01-18 bef zés Gabor E. Tusnady
Sziasztok!

Megoldhato postfix-szal, hogy egy adott cimre ne lehessen attachment
tartalmazo levelet kuldeni, csak attachment nelkulit? 

Koszonom
tusi

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: usb modem random disconnect

2010-06-17 bef zés Gabor E. Tusnady

> Én kontatkt hibára gyanakodnék.

a gep mozdulatlanul all, fenkebe dugva az usb modemmel. Teljesen jol
illeszkedik, tobb lyukkal is megprobaltam, elozoleg mas operacios
rendszerrel (fedora 12) mukodott disconnect nelkul...

mas otlet?

tusi


_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

usb modem random disconnect

2010-06-17 bef zés Gabor E. Tusnady
Kedves Lista!

Vajon miert van ez?

Jun 17 14:33:39 gep kernel: [1143335.006424] option1 ttyUSB0: GSM modem 
(1-port) converter now disconnected from ttyUSB0
Jun 17 14:33:39 gep kernel: [1143335.006438] option 1-4:1.0: device disconnected
Jun 17 14:33:39 gep kernel: [1143335.006496] option1 ttyUSB2: GSM modem 
(1-port) converter now disconnected from ttyUSB2
Jun 17 14:33:39 gep kernel: [1143335.006516] option 1-4:1.1: device disconnected

es par masodperc mulva ujbol kapcsolodik.

>uname -a
Linux 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 
GNU/Linux

>lsusb
..
Bus 001 Device 029: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem 
/ E270 HSDPA/HSUPA Modem
..

Lehet, hogy nem jol kerestem, de a gugli nem segitett.

Koszonom
tusi

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: valtozo helyettesites

2010-03-30 bef zés Gabor E. Tusnady
Koszonom mindegyik valaszt, sokat tanultam beloluk. Legjobban ez
tetszett:

>  { cat file1; echo "cat 

Re: valtozo helyettesites

2010-03-29 bef zés Gabor E. Tusnady
> #!/bin/bash
> 
> . f1.sh
> 
> echo "Van $alma db almam es"
> echo "$korte db kortem."
> ==%%==
> 
> $ ./f2.sh 
> Van 1 db almam es
> 3 db kortem.
> 
> vagy nem ertek valamit?

ebben a file-ban nincsenek echo-k

tusi

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: sata diszk hiba

2008-02-17 bef zés Gabor E. Tusnady
On Fri, 2008-02-15 at 09:00 +0100, Salamon Attila wrote:

> Szombaton készülök kábelt cserélni, hátha az lesz a hibás. Majd megírom, 
> hogy segített -e.
> 

En mar penteken csereltem, es azota semmi gond!
Koszonom.
tusi

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

sata diszk hiba

2008-02-14 bef zés Gabor E. Tusnady
Sziasztok!

Az elmult napokban, napont 3-4-szer jelentkezik az alabbi hiba az egyik
szerver gepunkon. A gepen 2 darab 150G WD sata diszk van raid0-ba
osszekapcsolva (szoftver raid). A messages-ben a kovetkezo van:

Feb 11 11:52:45 hostname kernel: ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 
action 0x2
Feb 11 11:52:45 hostname kernel: ata2.01: (BMDMA stat 0x66)
Feb 11 11:52:45 hostname kernel: ata2.01: cmd 
25/00:80:3f:11:8b/00:01:01:00:00/f0 tag 0 cdb 0x0 data 196608 in
Feb 11 11:52:45 hostname kernel:  res 
51/84:80:3f:11:8b/84:01:01:00:00/f0 Emask 0x30 (host bus error)
Feb 11 11:52:45 hostname kernel: ata2: soft resetting port
Feb 11 11:52:45 hostname kernel: ata2.00: configured for UDMA/133
Feb 11 11:52:45 hostname kernel: ata2.01: configured for UDMA/133
Feb 11 11:52:45 hostname kernel: ata2: EH complete
Feb 11 11:52:45 hostname kernel: sd 1:0:0:0: [sdb] 293046768 512-byte hardware 
sectors (150040 MB)
Feb 11 11:52:45 hostname kernel: sd 1:0:0:0: [sdb] Write Protect is off
Feb 11 11:52:45 hostname kernel: sd 1:0:0:0: [sdb] Write cache: enabled, read 
cache: enabled, doesn't support DPO or FUA
Feb 11 11:52:45 hostname kernel: sd 1:0:1:0: [sdc] 293046768 512-byte hardware 
sectors (150040 MB)
Feb 11 11:52:45 hostname kernel: sd 1:0:1:0: [sdc] Write Protect is off
Feb 11 11:52:45 hostname kernel: sd 1:0:1:0: [sdc] Write cache: enabled, read 
cache: enabled, doesn't support DPO or FUA
Feb 11 11:52:45 hostname kernel: sd 1:0:0:0: [sdb] 293046768 512-byte hardware 
sectors (150040 MB)
Feb 11 11:52:45 hostname kernel: sd 1:0:0:0: [sdb] Write Protect is off
Feb 11 11:52:45 hostname kernel: sd 1:0:0:0: [sdb] Write cache: enabled, read 
cache: enabled, doesn't support DPO or FUA
Feb 11 11:52:45 hostname kernel: sd 1:0:1:0: [sdc] 293046768 512-byte hardware 
sectors (150040 MB)
Feb 11 11:52:45 hostname kernel: sd 1:0:1:0: [sdc] Write Protect is off
Feb 11 11:52:45 hostname kernel: sd 1:0:1:0: [sdc] Write cache: enabled, read 
cache: enabled, doesn't support DPO or FUA

gugliban nem talaltam megoldast. A gep amugy mukodik.
Mi lehet ennek az oka, es hogyan gyogyithato?

tusi

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: nfsd+DNS

2008-01-25 bef zés Gabor E. Tusnady
>Az lenne az igazi megoldas, hogy az exportfs ilyen esetben idonkent
>ujra 
>kerdezze le a neveket, de se a doksikban, se a neten turkalva nem 
>talaltam ilyen lehetoseget.


exportfs -r beiras az rc.localba nem segitene?

udv
tusi

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Re: Return-Path: [EMAIL PROTECTED]

2006-03-27 bef zés Gabor E. Tusnady
On Mon, 2006-03-27 at 11:50 +0200, Károly György Tamás wrote:
>  mail('[EMAIL PROTECTED]', 'targy', 'az uzenet', null,
> '[EMAIL PROTECTED]');
> ?>

Kosz, ez segit, igy atirodik a Return-Path. Egy szepseg hibaja van
azonban, a level fejleceben megjeleni a kovetkezo sor:

X-Authentication-Warning: localhost.localdomain: apache set sender to
[EMAIL PROTECTED] using -f


Errol hogy kene lebeszelni?

tusi

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux


Return-Path: [EMAIL PROTECTED]

2006-03-27 bef zés Gabor E. Tusnady
Sziasztok,

van egy web szerverunk, amirol php-val kuldunk leveleket. A levelezes
megy, azonban nehany szerver visszadobja a levelet, mert ellenorzi a
FROM ip cimet, de az a Return-Path-bol szedi ki. A web szerver egy belso
halon ul, a tuzvalon keresztul relay-ezik, es csak levelet lehet vele
kuldeni, kapni nem. A web szerveren postfix fut.
A kerdesem az, mit kell a postfix conf-jan valtoztatni, hogy a return
path-ba ne a localhost keruljon be? (Termeszetesen a myhostname be van
allitva)

Most igy nez ki egy kikuldott level fejlece:

> From [EMAIL PROTECTED] Mon Mar 27 10:24:26 2006
> Return-Path: <[EMAIL PROTECTED]>
> X-Original-To: [EMAIL PROTECTED]
> Delivered-To: [EMAIL PROTECTED]
> Received: from mail (mail [127.0.0.1]) by mail.example.hu (Postfix) with SMTP
>   id EE8E3AF508 for <[EMAIL PROTECTED]>; Mon, 27 Mar 2006 10:24:26 +0200 
> (CEST)
> Received: from mail.example.hu ([127.0.0.1]) by mail ([127.0.0.1]) with SMTP
>   (gateway) id A05B26D1717; Mon, 27 Mar 2006 10:24:26 +0200
> Received: from fal.example.hu (fal.dmz.example.hu [192.168.0.254]) by
>   mail.example.hu (Postfix) with ESMTP id CAA9EAF508 for <[EMAIL 
> PROTECTED]>; Mon,
>   27 Mar 2006 10:24:26 +0200 (CEST)
> Received: from w2.example.hu (w2.dmz.example.hu [192.168.0.4]) by 
> fal.example.hu
>   (Postfix) with ESMTP id C85A9464002 for <[EMAIL PROTECTED]>; Mon, 27 
> Mar 2006
>   10:24:26 +0200 (CEST)
> Received: from localhost.localdomain (w2 [127.0.0.1]) by w2.example.hu
>   (Postfix) with ESMTP id B5E3F5A9A1 for <[EMAIL PROTECTED]>; Mon, 27 Mar 
> 2006
>   10:24:26 +0200 (CEST)
> Received: (from [EMAIL PROTECTED]) by localhost.localdomain
>   (8.13.1/8.13.1/Submit) id k2R8OQcS015821; Mon, 27 Mar 2006 10:24:26 
> +0200

a w2.dmz.example.hu a web szerver cime, a fal.dmz.example.hu a tuzfal
cime, a mail.example.hu a melso mail szerver cime, most egy belso
usernek kuldtem levelet.

tusi

_
linux lista  -  linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux