Main menu

UMTS Express Karte Merlin XU870 unter Linux

30 Dec
Published by Eichi

Seit kurzem bediene ich mich der HSDPA/UMTS/EDGE/GPRS-Karte Merlin XU870 um überall Zugang zum Netz zu erhalten. Leider mangelt es im Internet, wohl aufgrund der geringen Verbreitung, noch an HOWTOs für die Einrichtung unter Linux.

Meine Lösung sieht wie folgt aus:

Benötigt werden die Programme ppp, perl und wvdial sowie das Modul "airprime" welches mit "modprobe airprime" geladen wird.

Für die Übergabe der SIM-PIN wird folgender Perl-Script benötigt, den ich von https://www.chaostreff-mannheim.de/wiki/Linux_UMTS bezogen habe:

 #!/usr/bin/env perl (-)
 
 use strict;
 use warnings;
 
 my $modem = "/dev/ttyUSB0";
 # Substitute xxxx with your PIN.
 # You should probably put your PIN somewhere else, e.g. on a USB stick,
 # an encrypted file system or something else, and read it from there...
 # You have been warned!
 my $pin = "XXXX";
  
 $SIG{ALRM} = sub {
                     die("timeout: no response from modem $modem\n");
 };
           
  open(MODEM, "+<", $modem) or die("can't open modem $modem");
  alarm(10);
  print(MODEM "AT+CPIN=\"$pin\"\n\r");
  while (<MODEM>) {
       if (m/OK/) {
        close(MODEM);
        print("PIN accepted\n");
        exit(0);
       }
       if (m/ERROR/) {
        close(MODEM);
        print("PIN rejected\n");
        exit(1);
       }
  }

wvdial habe ich wie folgt configuriert(Vodafone):

 [Dialer Defaults]
 #Modem == /dev/ppp
 Modem = /dev/ttyUSB0
 Init1 = at+cgdcont=1,"ip","volume.d2gprs.de"
 Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
 Stupid Mode = 1
 Modem Type = Analog Modem
 Phone = *99#
 Baud = 460800
 ISDN = 0
 Username = vodafone
 Password = vodafone
 
wobei jene von Anbieter zu Anbieter variieren können.

Zur Automatisierung habe ich folgenden Bash-Script geschrieben (sehr provisorisch und ohne jeglichen error-catch)

 #!/bin/sh
 echo "make /dev/ppp"
 mknod /dev/ppp c 108 0
 echo "done..."
 echo "setting pin to sim card..."
 # HIER BITTE RICHTIGEN PFAD ANGEBEN
 perl umts.perl
 echo "right, now, dial on"
 wvdial

Themen 

Freie Software

Kommentare

sehr interessanter beitrag! danke dafür

ich denke, das kann man auch für andere Karten nutzen....

ich werde wohl bald meine Option GEO201 mit UMTSmon nutzen und ich denke ich werde dieses Script nutzen um die Einwahl zu automatisieren....

Solche Beiträge sollte es öfter geben.....vielen Dank dem Author

Gruß
Der große "C"

perfekt, vielen Dank! Auch wenn die Karte älter ist, wozu wegschmeißen wenns noch unter Linux klappt? :) Dein Config-Teil hat mir sehr weitergeholfen.

Guter Beitrag :)

http://clomidph.com/ valtrex 1000 order clomid <a href=http://clomidph.com/>cheap clomid</a> without a prescription buy clomid http://genericcialisshop.com/ generic cialis tadalafil <a href=http://genericcialisshop.com/>order cialis</a> generic cialis online http://cialisonlineph.com/ online cialis <a href=http://cialisonlineph.com/>generic cialis online</a> online cialis scam

<strong><a href="http://bleja.co/index.php?p=blogs/viewstory/195084" title="bleja.co">bleja.co</a></strong> <strong><a href="http://bleja.co/index.php?p=blogs/viewstory/195086" title="bleja.co">bleja.co</a></strong> <strong><a href="http://bleja.co/index.php?p=blogs/viewstory/195142" title="bleja.co">bleja.co</a></strong> <strong><a href="http://bleja.co/index.php?p=blogs/viewstory/195540" title="bleja.co">bleja.co</a></strong> <strong><a href="http://bleja.co/index.php?p=blogs/viewstory/195613" title="bleja.co">bleja.co</a></strong> <strong><a href="http://blimpnet.co.uk/index.php?p=blogs/viewstory/162197" title="blimpnet.co.uk">blimpnet.co.uk</a></strong> <strong><a href="http://blindfish.com/index.php?p=blogs/viewstory/829543" title="blindfish.com">blindfish.com</a></strong> <strong><a href="http://blindfish.com/index.php?p=blogs/viewstory/829807" title="blindfish.com">blindfish.com</a></strong> <strong><a href="http://blindfish.com/index.php?p=blogs/viewstory/831350" title="blindfish.com">blindfish.com</a></strong> <strong><a href="http://blindfish.com/index.php?p=blogs/viewstory/831412" title="blindfish.com">blindfish.com</a></strong> <strong><a href="http://blindfish.com/index.php?p=blogs/viewstory/831734" title="blindfish.com">blindfish.com</a></strong> <strong><a href="http://blindfish.com/index.php?p=blogs/viewstory/833053" title="blindfish.com">blindfish.com</a></strong> <strong><a href="http://blindfish.com/index.php?p=blogs/viewstory/833253" title="blindfish.com">blindfish.com</a></strong> <strong><a href="http://bljsselfdefense.com/social/index.php?do=/ghdgoodqy/blog/ghd-iron-... title="bljsselfdefense.com">bljsselfdefense.com</a></strong> <strong><a href="http://bljsselfdefense.com/social/index.php?do=/ghdgoodqy/blog/women-s-g... title="bljsselfdefense.com">bljsselfdefense.com</a></strong> <strong><a href="http://bljsselfdefense.com/social/index.php?do=/ghdsalemhc/blog/ugg-meta... title="bljsselfdefense.com">bljsselfdefense.com</a></strong> <strong><a href="http://bljsselfdefense.com/social/index.php?do=/uggbootsfto/blog/tips-fo... title="bljsselfdefense.com">bljsselfdefense.com</a></strong> <strong><a href="http://blog.china.com.cn/klanghan6z9/art/7962713.html" title="blog.china.com.cn">blog.china.com.cn</a></strong> <strong><a href="http://blog.china.com.cn/pghdsalelir/art/7962205.html" title="blog.china.com.cn">blog.china.com.cn</a></strong> <strong><a href="http://blog.china.com.cn/uggbootsezk/art/7962441.html" title="blog.china.com.cn">blog.china.com.cn</a></strong> <strong><a href="http://blog.china.com.cn/uggbootsndr/art/7962967.html" title="blog.china.com.cn">blog.china.com.cn</a></strong> <strong><a href="http://blog.china.com.cn/uggbootswtl/art/7962701.html" title="blog.china.com.cn">blog.china.com.cn</a></strong> <strong><a href="http://blog.cnfol.com/gghdsaledvq/article/78139721.html" title="blog.cnfol.com">blog.cnfol.com</a></strong> <strong><a href="http://blog.cnfol.com/ghdgoodhaha/article/78143591.html" title="blog.cnfol.com">blog.cnfol.com</a></strong> <strong><a href="http://blog.cnfol.com/jghdsalekzs/article/78145723.html" title="blog.cnfol.com">blog.cnfol.com</a></strong> <strong><a href="http://blog.cnfol.com/slanghan9n3/article/78143823.html" title="blog.cnfol.com">blog.cnfol.com</a></strong> <strong><a href="http://blog.cnfol.com/uggbootsaad/article/78144081.html" title="blog.cnfol.com">blog.cnfol.com</a></strong> <strong><a href="http://blog.ifeng.com/article/15745669.html" title="blog.ifeng.com">blog.ifeng.com</a></strong> <strong><a href="http://blog.ifeng.com/article/15747194.html" title="blog.ifeng.com">blog.ifeng.com</a></strong> <strong><a href="http://blog.ifeng.com/article/15748977.html" title="blog.ifeng.com">blog.ifeng.com</a></strong> <strong><a href="http://blog.sina.com.cn/s/blog_95f96525010119ba.html" title="blog.sina.com.cn">blog.sina.com.cn</a></strong> <strong><a href="http://blog.sina.com.cn/s/blog_9743c98c0100ytm0.html" title="blog.sina.com.cn">blog.sina.com.cn</a></strong> <strong><a href="http://blog.sina.com.cn/s/blog_97ffe87a0100xzk7.html" title="blog.sina.com.cn">blog.sina.com.cn</a></strong> <strong><a href="http://blog.sina.com.cn/s/blog_981cc2e401011eim.html" title="blog.sina.com.cn">blog.sina.com.cn</a></strong> <strong><a href="http://blog.sina.com.cn/s/blog_988b9d060100ytgl.html" title="blog.sina.com.cn">blog.sina.com.cn</a></strong>

http://cheapviagrawp.com hellas buy viagra <a href=http://cheapviagrawp.com>cheap viagra online</a> real viagra price cialis levitra http://iaccutane.com/ initial breakout on accutane drug <a href=http://iaccutane.com/>accutane online</a> roche to buy accutane http://cheapcialiswithoutprescription.com/ where to buy cialis in canada <a href=http://cheapcialiswithoutprescription.com/>cheap cialis</a> order generic cialis online http://izithromax.com buy zithromax without rx <a href=http://izithromax.com>buy azithromycin</a> is zithromax generic http://escialis.com/ tadalafil la sante <a href=http://escialis.com/>cialis 20 mg</a> sildenafil vardenafil y tadalafil comparison

http://zithromaxalpha.com/ buy no prescription azithromycin 250mg <a href=http://zithromaxalpha.com/>azithromycin 250 mg</a> z pak sinus infection generic zithromax

Hello! kadefaa interesting kadefaa site! I'm really like it! Very, very kadefaa good!

Neuen Kommentar schreiben