Etu esi etinye Gammu Izipu ozi na Gammu - Nkebi 1

Gammu maka Linux

Gammu maka Linux

Taa, ozi ederede site na SMS bụ akụkụ dị mkpa nke ahụmịhe mkpanaka yana email site na Internetntanetị. Na ọkwa azụmaahịa, izi ozi mkpanaka n'ọtụtụ ọnọdụ na-aga n'ihu na-abụ usoro mgbasa ozi kachasị dị irè na nke zuru ụwa ọnụ ugbu a. E jiri ya tụnyere ọwa nkwukọrịta ndị ọzọ dịka mail, Izi ozi gbasara ekwentị mkpanaaka nwere obere spam ma nwee ike gụọ ndị nnata niile ozugbo enyefe ya.

N'ihi nke a, ọ dị mkpa ịnwe n'aka mgbe niile na akụrụngwa sava anyị n'okpuru Linux ihe SMS Izipu Server na Gammu, dị njikere maka ịmalite ma ọ bụrụ na achọrọ. NA Ndị a bụ usoro nke ga-abara ọtụtụ dị ka ihe nduzi ma ọ bụ ihe nlereanya iji nweta nwụnye na nhazi nke otu n’ime ya Ugbo nke Ndị Ohu.

Gammu na Synaptic

Okwu Mmalite

Gamu na-ekwu ihe mmadụ nwere Ebe nrụọrụ weebụ na Spanish

»Aha oru ngo, nakwa aha nke iwu akara ịba uru ị nwere ike iji jikwaa ekwentị gị. Edere ya na C ma wuo ya libGammu".

Na okwu nkịtị enwere ike ikwu ya Gammu bụ Sistemụ Njikwa maka Ngwaọrụ Ekwentị na Usoro Ekwentị, nke ahụ bụ, ọ bụ ọrụ na-enye abstraction oyi akwa iji nweta ekwentị mkpanaaka na ọrụ ha. Ọ na-ekpuchi ọtụtụ ụdị ekwentị, na-elekwasị anya na igwe ekwentị na ekwentị Nokia.

Gammu bu uzo akwukwo (njide) akwukwo na ihe omumaỌ bụ ezie na ọ na-abịa na a graphic oyi akwa akpọ Wammu ikwado ya iji site ọgwụgwụ ọrụ. O nwere ikikere GNU GPL nke 2.

Ndi oru ngo a bu Marcin Wiacek bidoro ya na ndi ozo, ya na Michal Čihař duziri ya site na enyemaka nke otutu ndi ozo.

Gammu na-enye ohere inweta ụdị atụmatụ dị iche iche. Agbanyeghị, ọkwa nkwado ahụ dịgasị iche site na ekwentị gaa na ekwentị. Nwere ike ịlele Database ekwentị Gammu maka ahụmịhe onye ọrụ na ekwentị dị iche iche. A na-akwado atụmatụ ndị a n'ozuzu:

  • Ndepụta oku, mbido na njikwa
  • Iweghachite, ndabere na izipu nke SMS
  • MMS mgbake
  • Ndepụta, mbubata na mbupụ kọntaktị (vCard)
  • Ndepụta, ibubata na mbupụ kalenda na ọrụ (vCalendar ma ọ bụ iCalendar).
  • Iweghachite nke ekwentị na ozi netwọkụ
  • Tonweta na sistemụ faịlụ ekwentị.

Echichi Gammu

1kwụ na XNUMXkwụ XNUMX - Gammu nwụnye

Maka ntinye ya, nchịkọta ndị ahụ ga-adabere na Distro na ụdị ya, ma ọ bụrụ na DEBIAN 8 na DEBIAN 9, a ga-akọwa ha n'okpuru:

apt wụnye gammu gammu-doc gammu-smsd libgammu7 libgsmsd7

# DEBIAN 8

apt wụnye gammu gammu-doc gammu-smsd libgammu8 libgsmsd8

# DEBIAN 9

apt wụnye mobile-brọdband-eweta-info ppp pppconfig modemmanager usb-modeswitch usb-modeswitch-data wvdial
# Nchịkọta bara uru na ndị nkịtị maka Ijikwa Ngwaọrụ /ntanetị / SMS na ọdụ ụgbọ USB.

2kwụ na XNUMXkwụ XNUMX - Nkwenye nke «DIALOUT» Ports

Ọdụ ụgbọ mmiri USB "Dialout" gị mgbe edepụtara nwere ike ịpụta na nomenclature "ttyUSB0, ttyUSB1, ttyUSB2, ttyUSB3" ma ọ bụ ttyS0, ttyS1, ttyS2, ttyS3.

Gbaa ndepụta ọdụ ụgbọ mmiri - mkparịta ụka:

ls -l / dev / tty *
# Depụta ọdụ ụgbọ mmiri TTY

3kwụ na XNUMXkwụ XNUMX - Jikọọ SMS Mọdem Ngwaọrụ ma gosipụta nchọpụta ya

Gbaa lspci iwu:

lsusb
# Nye iwu iji depụta ngwaọrụ USB ejikọrọ

Ka anyị were ya na ngwaọrụ ejikọrọ na achọpụtara na-egosi na ihuenyo dị ka ndị a na ọnụ:

Bus 001 Ngwaọrụ 013: ID 19d2: 0031 ZTE WCDMA Teknụzụ MSM MF110 / MF627 / MF636
# Ekwentị na-eweta ịntanetị pendriver

Run ndepụta nke Oghere Usoro ngwaọrụ:

ls / dev / serial / by-id -ls
# Nye iwu ka edepụtara ngwaọrụ ejikọrọ ma chọpụta

Nzọụkwụ 4 - Gammu nhazi

.Gammurc faịlụ

Iji hazie Gammu ị nwere ike iji aka mepụta faịlụ a na-akpọ ".Gammurc" na "Mgbọrọgwụ ụlọ" na ọdịnaya ndị a na iji iwu iwu:

nano /root/.gammurc ########## Ihe Nlereanya Ihe ##########
[egwuregwu]
port = / dev / ttyUSB1 -> ttyUSB ọdụ ụgbọ mmiri nyeere (ttyUSB0 - ttyUSB1 - ttyUSB2)
nlereanya =
njikọ = at19200 -> Typedị njikọ ka ahazi.
synchronizetime = ee
ndekọ ndekọ =
logformat = ọ dịghị ihe
ojiji_locking =
gammuloc =
#############################

Ma obu inwere ike igbu iwu a nke gha du anyi na ndu ya:

gamma-config
# Nye iwu iji mepụta faịlụ nhazi

.Gammu-smsdrc faịlụ

Iji hazie Gammu jiri aka dezie faịlụ aha ya ".Gammu-smsdrc" na folda "wdg" nke Sistemụ arụmọrụ yana ọdịnaya na-esonụ na iji iwu iwu:

nano / etc / gammu-smsdrc ######### Isi Ihe Nlereanya ##########

# Faịlụ nhazi maka Gammu SMS Daemon

# Gammu nhazi akwukwo, lee gammurc (5)
[egwuregwu]
# Biko hazie nke a!
ọdụ ụgbọ mmiri = / dev / ttyUSB1
njikọ = na
# Nhazi ọnọdụ
#logformat = ederede

# SMSD nhazi, lee gammu-smsdrc (5)
[sms]
ọrụ = faịlụ
logfile = syslog
# Mmụba maka debugging ọmụma
debuglevel = 0

# Wherezọ ebe echekwara ozi
inboxpath = / var / spool / gammu / igbe mbata /
ọpụpụ ụzọ = / var / spool / gammu / outbox /
sentsmspath = / var / spool / gammu / zigara /
errormspath = / var / spool / gammu / error /
#############################

5kwụ na XNUMXkwụ XNUMX - Chọpụta SMS / Mobile Internet Ngwaọrụ

Enwere ike ime usoro a na ụzọ 2:

1dị XNUMX

Iji gammu-smsdrc faịlụ dị ka ndị a:

gammu -c / etc / gammu-smsdrc -identify

########## Ihe Nlereanya ##########
Ngwaọrụ: / dev / ttyUSB1
Emeputa: ZTE CORPORATION
Nlereanya: amaghi (MF190)
Femụwe: BD_MF190V1.0.0B06
IMEI: 355435048527666
IMSI SIM: 734061006753643 #####################

2dị XNUMX

Iji gammu mata iwu dị ka ndị a:

gammu mata

########## Ihe Nlereanya ##########
Ngwaọrụ: / dev / ttyUSB1
Emeputa: ZTE CORPORATION
Nlereanya: amaghi (MF190)
Femụwe: BD_MF190V1.0.0B06
IMEI: 355435048527666
IMSI SIM: 734061006753643
#############################

6kwụ na XNUMXkwụ XNUMX - Nwalee usoro ihe omume Gammu

You nwere ike ịnwale nwụnye na nhazi nke Gammu n'ụzọ abụọ:

1dị XNUMX

Imezu iwu a:

egwuregwu gammu

########## Ihe Nlereanya ##########

0 SMS akụkụ na 0 SMS usoro

#############################

2dị XNUMX

Imezu iwu a:

gammu na-eziga ederede 04161234567

Tinye ederede nke ozi ma pịa Ctrl + D:
Nke a bụ ihe àmà nke mbupu. Ọ bụrụ n'ịchọrọ ịkagbu, pịa Ctrl + C ...
Na-ezipụ SMS 1/1 ... na-eche nzaghachi netwọk .. Ọ dị mma, ntụpọ ozi = 7

Ugbu a ọ fọdụrụ iji nyochaa na ozi SMS eruola ebe ọ na-aga! Ma ọ bụrụ na ruo ugbu a ihe niile agaala nke ọma, ị nweelarị Mmemme arụnyere ma hazie nke ọma iji zipu ozi SMS site na njikwa nke Terminal gị.

Maka ibupu naanị Anyị kwesịrị ịmepụta database na-eme ọhụrụ mbupu ule. Anyị ga-ahụ akụkụ a niile na akụkụ nke 2 nke isiokwu a na akụkụ nke 3 ntinye ya na Ngwa Kalkun.

Ọ bụrụ na ị chọrọ naanị ngwa dị mfe Ọbụna maka onye ọrụ nkịtị ị nwere ike ịnwale nke a: Igwe okwu

Ọ bụrụ n’ịchọrọ ịgafe ntakịrị ihe gbasara Gamu ha nwere ike ịga akwụkwọ ntuziaka ma ọ bụ gụọ akụkọ banyere ngwa na gị ngalaba akuko ma ọ bụ lee vidiyo na-esonụ:


Ọdịnaya nke isiokwu agbaso ụkpụrụ anyị nke ụkpụrụ nduzi. Kpesa mmejọ pịa ebe a.

Ihe 4 kwuru, hapụ nke gị

Hapu okwu gi

Adreesị email gị agaghị bipụtara.

*

*

  1. Rụ ọrụ maka data: Miguel Ángel Gatón
  2. Nzube nke data: Nchịkwa SPAM, njikwa okwu.
  3. Ikike: Nkwenye gị
  4. Nkwurịta okwu nke data: Agaghị agwa ndị ọzọ data ahụ ma ọ bụghị site na iwu.
  5. Nchekwa data: Ebe nchekwa data nke Occentus Networks (EU) kwadoro
  6. Ikike: Oge obula inwere ike igbachi, weghachite ma hichapụ ihe omuma gi.

  1.   ebule dijo

    Ndewo, a na-eji ihe nkesa SMS a zipu SMS site na Linux gaa na ụdị ekwentị ọ bụla na ndị ọrụ ọ bụla?

  2.   Jose Manuel Parrado Ortega dijo

    Ọ bụrụ n'ịchọpụta, ọ na-ezo aka na izipu iwu na ngwaọrụ. N'ikwu ya n'ụzọ ọzọ, enwere ike izipu ndị ọrụ ọ bụla ozi, mana ejiri mọdem ma ọ bụ ekwentị maka nke a.

  3.   Otoniel Rincon dijo

    Ndewo, nkuzi mara mma, agbasorola m ihe niile, mana enwere ihe m na-enwebeghị ike idozi, amaghị m ma ị nwere ike inyere m aka, yana ọ bụ ijikọ Modem n'ime anya, ya bụ, inwe sava 2, n'otu n'otu. ihe nkesa Gamm, na nkesa nke ọzọ USB MODEM, kedu ka m ga-esi hazie oke "ọdụ ụgbọ mmiri = / dev / ttyUSB1"?
    Daalụ nke ukwuu n'ọdịnihu.
    ekele

    1.    Linux Post Wụnye dijo

      Daalụ, Otoniel. Amaghị m n'ezie otú e kwesịrị isi mee nke ahụ. O kwenyere na nke a agaghị ekwe omume ... Enwere m olileanya na onye nwere ahụmahụ karịa Gammu nwere ike ịza ajụjụ gị.

bool(ezi)