Ubuntu Treiber für UMTS onboard

C

c4r1

Grünschnabel
Hallo, ich habe einen 1,5 Jahre alten Acer Travelmate 4283 Wlmi Schlepptop mit intern (SIM unterm Akku) verbauter UMTS Karte von Option Globetrotter, für die es die Originaltreiber unter ftp://ftp.work.acer-euro.com/notebook/3g/ gibt, und möchte aber dieser Hardware mit der aktuellen Version von Ubuntu (vor einigen Tagen installiert) nutzen. Ich habe schon vieles selber probiert und auch mit Erfolgt Einiges an Hardware geschafft zusätzlich zu installieren (internes WLAN zB), doch hier bin ich ratlos. HAT JEMAND EINEN TIPP, WO MAN NACH EINEM LINUXTREIBER HIERFÜR SUCHEN KÖNNTE UND WIE ICH VORGEHEN SOLLTE, DIESE UMTS KARTE ÜBERHAUPT IRGENDWO UNTER UBUNTU ZU SEHEN UND EINE DFÜ-VERBINDUNG ZU IHR HERZUSTELLEN? In der Windoof Hardware steht zu diesem Modul unter "Modems" als Bezeichnung: "GlobeTrotter Module 3G+ Modem", am Ort: "GlobeTrotter Module 3G+ Flip-Flop Bus" und als Geräteinstanzkennung: "OPTIONBUS\GTM_FF_SER\7&10386969&0&". Ich wäre für einen Tipp überaus dankbar. Aber vielleicht ist das auch einfach nicht möglich unter Linux. Ubuntu ist aber sonst so cool, wäre schade. Vielen Dank nochmal! C4R1
 
Soweit ich weiss, benötigst du die Nozomi-Treiber, damit der Adapter mit Ubuntu läuft.

Code:
bitmuncher@admin-laptop:~$ apt-cache search nozomi
nozomi-source - source for GlobeTrotter HSDPA kernel driver

Da es die nur als Source gibt, wirst du deinen Kernel damit selbst patchen müssen.
 
umts ü. gnome ppp verbunden, aber ist das richtig?

lb. bitmuncher, danke für den Post! Ich konnte über Gnome PPP eine Verbindung herstellen mit folgendem Protokoll (kompletter Mittschnitt):

--> Ignoring malformed input line: ";Do NOT edit this file by hand!"
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATM0L0DT*99#
--> Waiting for carrier.
ATM0L0DT*99#
CONNECT 1800000
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Wed Jun 4 23:13:45 2008
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 6200
--> Using interface ppp0
--> local IP address 88.128.5.157
--> remote IP address 10.64.64.64
--> primary DNS address 193.254.160.1
--> secondary DNS address 193.254.160.130

Sollte ich denn versuchen, dies besser oder anders hinzukriegen?
--- --- ---
apt-cache search nozomi zeigt mir dann an:

nozomi-source - source for GlobeTrotter HSDPA kernel driver
--- --- ---
c4r1@c4r1-laptop:~$ lsusb zeigt komplett an:
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 002: ID 0af0:6500 Option
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
-----------------------------------------------------------------------------------------------------------------------
c4r1@c4r1-laptop:~$ lspci zeigt u. a. an:
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
(...)
-----------------------------------------------------------------------------------------------------------------------
c4r1@c4r1-laptop:~$ dmesg zeigt u. a. an:
(...)
[ 35.622108] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
[ 35.622150] option 4-2:1.0: GSM modem (1-port) converter detected
[ 35.622321] usb 4-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 35.622336] option 4-2:1.1: GSM modem (1-port) converter detected
[ 35.622438] usb 4-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 35.622452] option 4-2:1.2: GSM modem (1-port) converter detected
[ 35.622554] usb 4-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 35.622570] usbcore: registered new interface driver option
[ 35.622574] /build/buildd/linux-2.6.24/drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
(...)
[ 104.031948] PPP generic driver version 2.4.2
[ 104.167128] PPP BSD Compression module registered
[ 104.233210] PPP Deflate Compression module registered
(...)
--- --- ---
Verwende ich nun falsche Kanäle (UMTS-Internetverbindung steht aber) oder eine nicht optimale Verbindungsmodamiltät, oder hab ich mein Ziel bestmöglich erreicht? Nochmal herzlichen Dank, C4R1
 
Also offenbar wurde der Treiber korrekt geladen, fraglich ist nur, ob die Karte mit dem Standard-Treiber klarkommt, der ja offenbar verwendet wird. Das Verbindungsprotokoll sieht allerdings gut aus, bis auf die Meldung 'Could not modify /etc/ppp/chap-secrets: Permission denied', die darauf hinweist, dass du für den Verbindungsaufbau keine root-Rechte angenommen hast.

Edit: Und ich sehe gerade, dass offenbar nicht das ttyUSB als Interface benutzt wird. Richtig konfigurieren musst du also schon noch.
 
Zuletzt bearbeitet:
ttyusb?

lb. bitmuncher!
danke dir herzlichst. meintest du folgende konfiguration? ich habe dieses echo im terminal gesendet (keine explizite antwort):
--- --- ---
c4r1@c4r1-laptop:~$ echo -ne 'at+cgdcont=1,"IP","internet.t-mobile","",0,0\r\n' > /dev/ttyUSB0
c4r1@c4r1-laptop:~$
--- --- ---
danke schön, und für die geduld für ggf. dämliche newbie fragen (bin erst dabei, terminalbefehle zu lernen ).
c4r1
 
'internet.t-mobile' wird sicherlich nicht antworten. Da dürfte ein .de fehlen, vermute ich mal. Ich mache der Einfachheit halber die Einwahl immer mittels wvdial. Ein entsprechender Abschnitt für Vodafone in der wvdial.conf sieht dann z.B. so aus:

Code:
[Dialer umts]
Modem = /dev/ttyUSB0
Baud = 1800000
Username = ppp
Password = ppp
Phone = *99***1#
Stupid Mode = 1
Init1 = AT+CGDCONT=1,"IP","web.vodafone.de"
Dial Attempts = 3

Das lässt sich dann einfach mittels eines 'wvdial umts' (als root) starten. Ich weiss nicht, wie T-Mobile das gelöst hat, aber ich muss vorher die PIN für die Karte setzen:

Code:
#!/usr/bin/perl

use strict;
use warnings;

my $modem = "/dev/ttyUSB0";

my $pin = "1234"; # hier PIN eintragen

$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);
        }
}
 
haarerauff

hi,
bei t-mobile ist das so blöd ohne de, tatsächlich "internet.t-mobile" ;-) passwordabfrage hatte ich von vorn herein auf der SIM-Karte ausgeschaltet. Nun kommt bei wvdial umts der Hammer:
--- --- ---
root@c4r1-laptop:/home/c4r1# wvdial umts
--> WvDial: Internet dialer version 1.60
--> Warning: section [Dialer umts] does not exist in wvdial.conf.
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
root@c4r1-laptop:/home/c4r1#
--- --- ---
und perl gibt's bei mir im 'bin' nicht drinnen *haarerauf*
ich hab den eindruck, dass ich mich da über GNOME PPP völlig falscheinwähle und die Verbindung nur zustande kommt, weil Linux/Ubuntu ne schlaue Type ist, Herz für Hirnlose hat und sich intuitiv Kanäle nach draussen sucht, weil es merkt, dass ich einfach ins Netz will. Vielleicht muss ich irgenwie andere Controller dem GNOME PPP zuweisen (aber wo gibts dazu ne Anleitung?) oder überhaupt nicht GNOME benutzen sondern was anderes...
Hilfe... Ich gehe ein :-S Trotzdem vielen Dank... Ich probiere weiter und belaste das Traffic aller Foren aufs Unanständigste. C4R1
 
/dev/modem dürfte auch nicht korrekt sein. Wie sieht deine wvdial.conf aus?
 
ich mag dir das gar nicht sagen, hab locate gemacht um wvdial füt kwrite zu finden, kate war gar nicht installiert. nun sieht das so aus:
#!/bin/sh

set -e

# Source debconf library
. /usr/share/debconf/confmodule

db_capb backup

# Update the Debconf database with information from /etc/wvdial.conf
if [ -e /etc/wvdial.conf ] && type uni >/dev/null 2>/dev/null; then
export UNICONF='ini:/etc/wvdial.conf'
update_db()
{
set +e
RET=`uni get "$1"`
if [ $? ]; then
set -e
db_set "$2" "$RET"
else
set -e
fi
}
else
# We can't do anything
update_db()
{
true
}
fi

STATE=1
LASTSTATE=5
while [ "$STATE" != 0 ] && [ "$STATE" -le "$LASTSTATE" ]; do
case "$STATE" in
1)
db_input low wvdial/wvdialconf || true
;;
2)
db_get wvdial/wvdialconf
if [ "$RET" = "true" ]; then
update_db 'Dialer Defaults/Phone' wvdial/phone
db_input medium wvdial/phone || true
fi
;;
3)
db_get wvdial/wvdialconf
if [ "$RET" = "true" ]; then
update_db 'Dialer Defaults/Username' wvdial/login
db_input medium wvdial/login || true
fi
;;
4)
db_get wvdial/wvdialconf
if [ "$RET" = "true" ]; then
update_db 'Dialer Defaults/Password' wvdial/passphrase
update_db 'Dialer Defaults/Password' wvdial/passphrase2
db_input medium wvdial/passphrase || true
db_input medium wvdial/passphrase2 || true
fi
;;
5)
db_get wvdial/wvdialconf
if [ "$RET" = "true" ]; then
db_get wvdial/passphrase
PASSPHRASE="$RET"
db_get wvdial/passphrase2
if [ "$RET" != "$PASSPHRASE" ]; then
db_input medium wvdial/passphrases_mismatch || true
db_reset wvdial/passphrase
db_reset wvdial/passphrase2
db_fset wvdial/passphrase seen false
db_fset wvdial/passphrase2 seen false
STATE=3
fi
fi
;;
esac

if db_go; then
STATE=$(($STATE + 1))
else
STATE=$(($STATE - 1))
fi
done
... bin ich jetzt wenigstens auf dem richtigen Weg? Ich glaub langsam brauch ich Deine Schweizer Kontonummer ;-) Grüße C4R1
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

... dev/modem/ existiert gar nicht. nur so:

root@c4r1-laptop:/dev# dir
audio ptyd5 ptysc ptyy3 tty27 ttycb ttys1 ttyx2
bus ptyd6 ptysd ptyy4 tty28 ttycc ttyS1 ttyx3
cdrom ptyd7 ptyse ptyy5 tty29 ttycd ttys2 ttyx4
cdrw ptyd8 ptysf ptyy6 tty3 ttyce ttyS2 ttyx5
cmx0 ptyd9 ptyt0 ptyy7 tty30 ttycf ttys3 ttyx6
console ptyda ptyt1 ptyy8 tty31 ttyd0 ttyS3 ttyx7
core ptydb ptyt2 ptyy9 tty32 ttyd1 ttys4 ttyx8
disk ptydc ptyt3 ptyya tty33 ttyd2 ttys5 ttyx9
dsp ptydd ptyt4 ptyyb tty34 ttyd3 ttys6 ttyxa
dvd ptyde ptyt5 ptyyc tty35 ttyd4 ttys7 ttyxb
dvdrw ptydf ptyt6 ptyyd tty36 ttyd5 ttys8 ttyxc
fd ptye0 ptyt7 ptyye tty37 ttyd6 ttys9 ttyxd
full ptye1 ptyt8 ptyyf tty38 ttyd7 ttysa ttyxe
fuse ptye2 ptyt9 ptyz0 tty39 ttyd8 ttysb ttyxf
hpet ptye3 ptyta ptyz1 tty4 ttyd9 ttysc ttyy0
initctl ptye4 ptytb ptyz2 tty40 ttyda ttysd ttyy1
input ptye5 ptytc ptyz3 tty41 ttydb ttyse ttyy2
kmem ptye6 ptytd ptyz4 tty42 ttydc ttysf ttyy3
kmsg ptye7 ptyte ptyz5 tty43 ttydd ttyt0 ttyy4
log ptye8 ptytf ptyz6 tty44 ttyde ttyt1 ttyy5
loop0 ptye9 ptyu0 ptyz7 tty45 ttydf ttyt2 ttyy6
MAKEDEV ptyea ptyu1 ptyz8 tty46 ttye0 ttyt3 ttyy7
mem ptyeb ptyu2 ptyz9 tty47 ttye1 ttyt4 ttyy8
mixer ptyec ptyu3 ptyza tty48 ttye2 ttyt5 ttyy9
net ptyed ptyu4 ptyzb tty49 ttye3 ttyt6 ttyya
null ptyee ptyu5 ptyzc tty5 ttye4 ttyt7 ttyyb
nvidia0 ptyef ptyu6 ptyzd tty50 ttye5 ttyt8 ttyyc
nvidiactl ptyp0 ptyu7 ptyze tty51 ttye6 ttyt9 ttyyd
oldmem ptyp1 ptyu8 ptyzf tty52 ttye7 ttyta ttyye
port ptyp2 ptyu9 ram0 tty53 ttye8 ttytb ttyyf
ppp ptyp3 ptyua ram1 tty54 ttye9 ttytc ttyz0
psaux ptyp4 ptyub ram10 tty55 ttyea ttytd ttyz1
ptmx ptyp5 ptyuc ram11 tty56 ttyeb ttyte ttyz2
pts ptyp6 ptyud ram12 tty57 ttyec ttytf ttyz3
ptya0 ptyp7 ptyue ram13 tty58 ttyed ttyu0 ttyz4
ptya1 ptyp8 ptyuf ram14 tty59 ttyee ttyu1 ttyz5
ptya2 ptyp9 ptyv0 ram15 tty6 ttyef ttyu2 ttyz6
ptya3 ptypa ptyv1 ram2 tty60 ttyp0 ttyu3 ttyz7
ptya4 ptypb ptyv2 ram3 tty61 ttyp1 ttyu4 ttyz8
ptya5 ptypc ptyv3 ram4 tty62 ttyp2 ttyu5 ttyz9
ptya6 ptypd ptyv4 ram5 tty63 ttyp3 ttyu6 ttyza
ptya7 ptype ptyv5 ram6 tty7 ttyp4 ttyu7 ttyzb
ptya8 ptypf ptyv6 ram7 tty8 ttyp5 ttyu8 ttyzc
ptya9 ptyq0 ptyv7 ram8 tty9 ttyp6 ttyu9 ttyzd
ptyaa ptyq1 ptyv8 ram9 ttya0 ttyp7 ttyua ttyze
ptyab ptyq2 ptyv9 random ttya1 ttyp8 ttyub ttyzf
ptyac ptyq3 ptyva rtc ttya2 ttyp9 ttyuc urandom
ptyad ptyq4 ptyvb scd0 ttya3 ttypa ttyud usbdev1.1_ep00
ptyae ptyq5 ptyvc sda ttya4 ttypb ttyue usbdev1.1_ep81
ptyaf ptyq6 ptyvd sda1 ttya5 ttypc ttyuf usbdev2.1_ep00
ptyb0 ptyq7 ptyve sda2 ttya6 ttypd ttyUSB0 usbdev2.1_ep81
ptyb1 ptyq8 ptyvf sda3 ttya7 ttype ttyUSB1 usbdev3.1_ep00
ptyb2 ptyq9 ptyw0 sda5 ttya8 ttypf ttyUSB2 usbdev3.1_ep81
ptyb3 ptyqa ptyw1 sda6 ttya9 ttyq0 ttyv0 usbdev4.1_ep00
ptyb4 ptyqb ptyw2 sequencer ttyaa ttyq1 ttyv1 usbdev4.1_ep81
ptyb5 ptyqc ptyw3 sequencer2 ttyab ttyq2 ttyv2 usbdev4.2_ep00
ptyb6 ptyqd ptyw4 sg0 ttyac ttyq3 ttyv3 usbdev4.2_ep02
ptyb7 ptyqe ptyw5 sg1 ttyad ttyq4 ttyv4 usbdev4.2_ep04
ptyb8 ptyqf ptyw6 shm ttyae ttyq5 ttyv5 usbdev4.2_ep05
ptyb9 ptyr0 ptyw7 snapshot ttyaf ttyq6 ttyv6 usbdev4.2_ep81
ptyba ptyr1 ptyw8 snd ttyb0 ttyq7 ttyv7 usbdev4.2_ep82
ptybb ptyr2 ptyw9 sndstat ttyb1 ttyq8 ttyv8 usbdev4.2_ep84
ptybc ptyr3 ptywa sr0 ttyb2 ttyq9 ttyv9 usbdev4.2_ep85
ptybd ptyr4 ptywb stderr ttyb3 ttyqa ttyva usbdev5.1_ep00
ptybe ptyr5 ptywc stdin ttyb4 ttyqb ttyvb usbdev5.1_ep81
ptybf ptyr6 ptywd stdout ttyb5 ttyqc ttyvc vcs
ptyc0 ptyr7 ptywe tty ttyb6 ttyqd ttyvd vcs1
ptyc1 ptyr8 ptywf tty0 ttyb7 ttyqe ttyve vcs2
ptyc2 ptyr9 ptyx0 tty1 ttyb8 ttyqf ttyvf vcs3
ptyc3 ptyra ptyx1 tty10 ttyb9 ttyr0 ttyw0 vcs4
ptyc4 ptyrb ptyx2 tty11 ttyba ttyr1 ttyw1 vcs5
ptyc5 ptyrc ptyx3 tty12 ttybb ttyr2 ttyw2 vcs6
ptyc6 ptyrd ptyx4 tty13 ttybc ttyr3 ttyw3 vcs7
ptyc7 ptyre ptyx5 tty14 ttybd ttyr4 ttyw4 vcs8
ptyc8 ptyrf ptyx6 tty15 ttybe ttyr5 ttyw5 vcsa
ptyc9 ptys0 ptyx7 tty16 ttybf ttyr6 ttyw6 vcsa1
ptyca ptys1 ptyx8 tty17 ttyc0 ttyr7 ttyw7 vcsa2
ptycb ptys2 ptyx9 tty18 ttyc1 ttyr8 ttyw8 vcsa3
ptycc ptys3 ptyxa tty19 ttyc2 ttyr9 ttyw9 vcsa4
ptycd ptys4 ptyxb tty2 ttyc3 ttyra ttywa vcsa5
ptyce ptys5 ptyxc tty20 ttyc4 ttyrb ttywb vcsa6
ptycf ptys6 ptyxd tty21 ttyc5 ttyrc ttywc vcsa7
ptyd0 ptys7 ptyxe tty22 ttyc6 ttyrd ttywd vcsa8
ptyd1 ptys8 ptyxf tty23 ttyc7 ttyre ttywe watchdog
ptyd2 ptys9 ptyy0 tty24 ttyc8 ttyrf ttywf xconsole
ptyd3 ptysa ptyy1 tty25 ttyc9 ttys0 ttyx0 zero
ptyd4 ptysb ptyy2 tty26 ttyca ttyS0 ttyx1
root@c4r1-laptop:/dev#

oder sind mit Modem ttyUSB.. usw gemeint ?
 
Zuletzt bearbeitet:
ttyUSB0 dürfte dein Modem-Device sein. Und das obere ist die Datei /etc/wvdial.conf? Kann ich mir nicht vorstellen. Die ist nämlich kein Shell-Skript.
 
hi,
nein, aber ich hab nur in der form
--- --- ---
/usr/share/man/man1/wvdialconf.1.gz
/usr/share/man/man5/wvdial.conf.5.gz
/var/lib/dpkg/info/wvdial.conffiles
/var/lib/dpkg/info/wvdial.config
--- --- ---
mit einfachen conf nur mit . davor und wenn ich dann:
--- --- ---
root@c4r1-laptop:/home/c4r1# kwrite /.wvdial.conf
kbuildsycoca running...
Reusing existing ksycoca
DCOP Cleaning up dead connections.
--- --- ---
dann ist das Editorfenster leer. pppconfig findet mein 'Option Modem', welches ich klar nur im lsusb finde (Bus 004 Device 002: ID 0af0:6500 Option) nicht und fragt nach tty oder so. ich krief n fön. Ich versuche echt alles. Aber es muss doch auch richtig gehen, wenn Ubuntu über die lahme Intuitivmethode sich verbindet, oder?
Grüße, C4R1
 
Dann solltest du mal die Manpage zu wvdial.conf lesen und dir einfach eine /etc/wvdial.conf (als root) erstellen. Eine Beispiel-Konfiguration hatte ich ja bereits gepostet.
 
ja, das werd ich. ich danke dir! also '/dev/ttyUSB0' ist definitiv das Option-UMTS-Modem, weil ich das nun noch einmal über kppp Statistics ausprobiert hab (also eine neue Einwahl da eingerichtet und über kppp wähle ich mich wesentlich schneller ein als gnome ppp). habe vorher noch über pppconfig das modem eingerichtet und auch dieses device angegeben, aber ich weiss immer noch nicht was das gebraucht hat auser in /etc/ppp/peers/ herumzustehen. also danke ich dir für die viele arbeit, vielleicht wurde schon eine lösung gefunden , nur ichmerk es nicht ;-) ich lese das jetzt und will danach schlauer werden, nochmal viel dank!
c4r1
 
Zurück
Oben