{"id":292,"date":"2008-02-09T15:07:09","date_gmt":"2008-02-09T13:07:09","guid":{"rendered":"http:\/\/security-planet.de\/2008\/02\/09\/umtsgprs-verbindungen-mit-der-hwic-3g-gsm\/"},"modified":"2008-02-09T15:07:09","modified_gmt":"2008-02-09T13:07:09","slug":"umtsgprs-verbindungen-mit-der-hwic-3g-gsm","status":"publish","type":"post","link":"https:\/\/cyber-fi.net\/index.php\/2008\/02\/09\/umtsgprs-verbindungen-mit-der-hwic-3g-gsm\/","title":{"rendered":"UMTS\/GPRS-Verbindungen mit der HWIC-3G-GSM"},"content":{"rendered":"<p><img src='https:\/\/blog.iwen.de\/wp-content\/uploads\/2008\/02\/hwic3ggsm-2.png' alt='Bild der HWIC-3G\/GSM' \/>Mitte letzten Jahres konnte ich die Lieferung meiner UMTS-Karte nicht abwarten, aber als sie dann endlich geliefert wurde, hatte ich keine Zeit sie in Betrieb zu nehmen. Das habe ich jetzt endlich nachgeholt.<\/p>\n<p>Die Hardware-Installation beschr\u00e4nkt sich auf das Einstecken der SIM-Karte, Einbau des Moduls in einen freien HWIC-Slot eines ISRs und das Anschrauben der Antenne. Im Kapitel <a href=\"http:\/\/www.cisco.com\/en\/US\/products\/hw\/modules\/ps2641\/products_module_installation_guide_chapter09186a00807ecd4b.html\">Connecting 3G Wireless WAN Interface Cards to a Network<\/a> ist das bei Cisco auch noch einmal beschrieben.<\/p>\n<p>Beim Start des Routers sollte die Karte erkannt werden (ich habe ein Adv. Security IOS 12.4(15)T3 im Router):<\/p>\n<pre class=\"code\"><code>\n0X051E          0X0016A400 Card in slot 1\n...\n1 Cellular interface\n...\n*Jan 30 11:07:21.523: %CELLWAN-2-MODEM_UP: Cellular0\/1\/0 modem is now UP\n*Jan 30 11:07:21.575: %CELLWAN-2-SIM_LOCKED: SIM is locked\n<\/code><\/pre>\n<p><!--more--><br \/>\nDie minimal ben\u00f6tigte IOS-Version und Firmware-Version ist <a href=\"http:\/\/www.cisco.com\/en\/US\/prod\/routers\/networking_solutions_products_genericcontent0900aecd80601f7e.html#~europe\">bei Cisco nachzuschlagen<\/a>:<br \/>\n<img src='https:\/\/blog.iwen.de\/wp-content\/uploads\/2008\/01\/gsm-provider.png' alt='gsm-provider.png' \/><\/p>\n<p>Schnell die Firmware der Karte kontrollieren:<\/p>\n<pre class=\"code\"><code>Router#sh cellular 0\/1\/0 hardware | i Firmware\nModem Firmware Version = H1_1_8_3MCAP C:\/WS\/\nModem Firmware built = 03\/08\/07\nRouter#\n<\/code><\/pre>\n<p>Und eine neue Firmware installieren (was bei meinen beiden Modulen nur nach einem Reload des Routers geklappt hat). Erst einmal die neue Firmware per FTP\/TFTP etc. ins Flash laden:<\/p>\n<pre class=\"code\"><code>Router#archive tar \/xtract ftp:\/\/10.195.40.243\/Cisco\/8775_h1_1_8_11.tar flash:\nLoading Cisco\/8775_h1_1_8_11.tar\nextracting FWUpgradeConfigFile.txt (162 bytes)!\nextracting MC8775H1.1.8.11.cwe (11947396 bytes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\nextracting MC8775QCOMH1.1.8.0.cwe (184940 bytes)!\n[OK - 12144640\/4096 bytes]\n\nRouter#\n<\/code><\/pre>\n<p>dann wird die Firmware installiert:<\/p>\n<pre class=\"code\"><code>Router#microcode reload cellular 0 1 gsm modem-provision\nReload microcode? [confirm]\nMicrocode Reload Process launched for hwic slot=1; hw type=0x51E\nRouter#\n*****************************************************\n Modem will be upgraded!\n Upgrade process will take up to 15 minutes. During\n this time the modem will be unusable.\n Please do not remove power or reload the router during\n the upgrade process.\n*****************************************************\nbacking up NV data..Could take up to 3  minutes\n++++++++++++++++++++++++++++++\nPrepare modem for downloading boot image.\nBegin boot image download\nFirmware [size:184940 bytes] will be downloaded in 363 segments\n\nSync indication Successful\nSync indication Successful\n***** Boot File Upgrade OK *****\n\n*******************************************\nThe firmware file will be copied in blocks\nfrom Compact Flash. Please DO NOT remove\nCompact Flash during Upgrade Process. Doing\nso will cause download failue and leave\nmodem in unusable state\n*******************************************\nPrepare modem for downloading application image.\nBegin application image download\nFirmware [size:11947396 bytes] will be downloaded in 23517 segments\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\nSync indication Successful\nSync indication Successful\n***** Application Firmware Upgrade OK *****\n\nModem Upgrade OK\n*Jan 30 11:58:47.923: %CELLWAN-2-MODEM_DOWN: Cellular0\/1\/0 modem is DOWN\n*Jan 30 11:59:01.639: %CELLWAN-2-MODEM_UP: Cellular0\/1\/0 modem is now UP\n*Jan 30 11:59:01.639: %CELLWAN-2-MODEM_DOWN: Cellular0\/1\/0 modem is DOWN\n*Jan 30 11:59:11.875: %CELLWAN-2-MODEM_UP: Cellular0\/1\/0 modem is now UP\n<\/code><\/pre>\n<p>Dann gibt es noch das Problem, da\u00df die SIM-Karte zur Benutzung eine PIN ben\u00f6tigt. Das war schon beim Starten an dem &#8220;%CELLWAN-2-SIM_LOCKED: SIM is locked&#8221; erkennbar:<\/p>\n<pre class=\"code\"><code>Router#sh cellular 0\/1\/0 security\nCard Holder Verification (CHV1) = Enabled\nSIM Status = Locked\nSIM User Operation Required = Enter CHV1\nNumber of Retries remaining = 3\nRouter#\n\nRouter#cellular 0\/1\/0 gsm sim unlock 1234\n!!!WARNING: SIM will be unlocked with pin=1234(4), call will be disconnected!!!\nAre you sure you want to proceed?[confirm]\nRouter#\n\nRouter#sh cellular 0\/1\/0 security\nCard Holder Verification (CHV1) = Disabled\nSIM Status = OK\nSIM User Operation Required = None\nNumber of Retries remaining = 3\nRouter#\n<\/code><\/pre>\n<p>Mit der Eingabe der PIN wird der PIN-Schutz der Karte komplett abgeschaltet. Wenn ihr euren Router so in der U-Bahn vergesst, kann der Finder damit sofort lostelefonieren. \ud83d\ude09<\/p>\n<p>Jetzt fangen wir an zu <a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps6441\/products_feature_guide09186a0080802d77.html\">konfigurieren<\/a>:<br \/>\nIn der Karte wird ein Datenprofil angelegt:<\/p>\n<pre class=\"code\"><code>Router#cellular 0\/1\/0 gsm profile create 1 internet.eplus.de chap eplus eplus\nProfile 1 will be created with the following values:\nAPN = internet.eplus.de\nAuthenticaton = CHAP\nUsername = eplus\nPassword = eplus\nAre you sure? [confirm]\nProfile 1 written to modem\nRouter#\n<\/code><\/pre>\n<p>Die APNs findet man im Internet oder bei den Providern.<\/p>\n<p>Das Profil ist angelegt und kann kontrolliert werden:<\/p>\n<pre class=\"code\"><code>Router#sh cellu 0\/1\/0 profile\nProfile 1 = INACTIVE*\n--------\nPDP Type = IPv4\nAccess Point Name (APN) = internet.eplus.de\nAuthentication = CHAP\nUsername: eplus, Password: eplus\n\n * - Default profile\nRouter#\n<\/code><\/pre>\n<p>Der Rest der Konfig erinnert an die gute alte Analog-Modem-Zeit. Und ich dachte, ich h\u00e4tte die Zeit der chat-scripte etc. hinter mir gelassen.<\/p>\n<p>Also ein Chat-Script konfigurieren:<\/p>\n<pre class=\"code\"><code>Router(config)#chat-script gsm \"\" \"ATDT*99***1#\" TIMEOUT 60 \"CONNECT\"\n<\/code><\/pre>\n<p>Interfaces und Line konfigurieren:<\/p>\n<pre class=\"code\"><code>interface Cellular0\/1\/0\n ip address negotiated\n encapsulation ppp\n dialer in-band\n dialer string gsm\n dialer-group 1\n async mode interactive\n ppp chap hostname eplus\n ppp chap password 0 eplus\n ppp ipcp dns request\n no shutdown\n\nline 0\/1\/0\n exec-timeout 0 0\n script dialer gsm\n modem InOut\n no exec\n<\/code><\/pre>\n<p>IP muss w\u00e4hlen d\u00fcrfen und wir ben\u00f6tigen eine Default-Route \u00fcber das Cellular-Interface:<\/p>\n<pre class=\"code\"><code>Router(config)#dialer-list 1 protocol ip permit\nRouter(config)#ip route 0.0.0.0 0.0.0.0 cellular 0\/1\/0\n<\/code><\/pre>\n<p>Und das war es schon mit der Konfig:<\/p>\n<pre class=\"code\"><code>Router#ping 88.198.206.211\n\nType escape sequence to abort.\nSending 5, 100-byte ICMP Echos to 88.198.206.211, timeout is 2 seconds:\n!!!!!\nSuccess rate is 100 percent (5\/5), round-trip min\/avg\/max = 300\/638\/1916 ms\nRouter#\n<\/code><\/pre>\n<p>Ok, jetzt fehlt noch DDR (Dial on demand Routing), NAT etc., aber das ist genau das gleiche wie bei einem ISDN- oder DSL-Interface.<\/p>\n<p>Weiterhin bin ich inzwischen der Meinung, da\u00df E-Plus entweder noch keine UMTS-Basisstationen hat (weder mit dem Handy, noch mit der HWIC-3G\/GSM hatte ich bisher UMTS, was mit einer T-Mobile-Karte fast immer der Fall ist) und auch per GPRS die Geschwindigkeit &#8220;suboptimal&#8221; ist. Datenverbindungen werde ich auf jeden Fall mit T-Mobile (Vodafone muss ich noch testen) machen.<\/p>\n<p>Weiterhin bekommt man bei der E-Plus-Einwahl eine private IP (bei T-Mobile eine public IP):<\/p>\n<pre class=\"code\"><code>Router#sh ip int brief | i Cell\nCellular0\/1\/0              10.161.181.57   YES IPCP   up                    up\n<\/code><\/pre>\n<p><img src='https:\/\/blog.iwen.de\/wp-content\/uploads\/2008\/02\/hwic3ggsm-1.png' alt='Bild der HWIC-3G\/GSM mit Antenne' \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mitte letzten Jahres konnte ich die Lieferung meiner UMTS-Karte nicht abwarten, aber als sie dann endlich geliefert wurde, hatte ich keine Zeit sie in Betrieb zu nehmen. Das habe ich jetzt endlich nachgeholt. Die Hardware-Installation beschr\u00e4nkt sich auf das Einstecken der SIM-Karte, Einbau des Moduls in einen freien HWIC-Slot eines ISRs und das Anschrauben der <\/p>\n<div class=\"read-more-text\"><a href=\"https:\/\/cyber-fi.net\/index.php\/2008\/02\/09\/umtsgprs-verbindungen-mit-der-hwic-3g-gsm\/\" class=\"read-more\">continue reading<\/a><\/div>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"twitterCardType":"","cardImageID":0,"cardImage":"","cardTitle":"","cardDesc":"","cardImageAlt":"","cardPlayer":"","cardPlayerWidth":0,"cardPlayerHeight":0,"cardPlayerStream":"","cardPlayerCodec":"","footnotes":""},"categories":[5],"tags":[266,290,307,358,624],"class_list":["post-292","post","type-post","status-publish","format-standard","hentry","category-cisco","tag-gprs","tag-hwic-3g-gsm","tag-ios","tag-konfiguration","tag-umts"],"_links":{"self":[{"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/posts\/292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/comments?post=292"}],"version-history":[{"count":0,"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/posts\/292\/revisions"}],"wp:attachment":[{"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/media?parent=292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/categories?post=292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cyber-fi.net\/index.php\/wp-json\/wp\/v2\/tags?post=292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}