philipp724
New Member
- Joined
- May 11, 2006
- Messages
- 2
- Reaction score
- 0
configuring my vodafone card option Qualcomm 3G: i am lost
I have problems to get a connection into the internet with my vodafone card. i write what i have done in the hope that somebody can help me.
My vodafone card is an option Qualcomm 3G CDMA Model: GT 3G+ EMEA; SNR: NZ...
i use ubuntu dapper beta with kernel 2.6.15-21-686.
i installed nozomi-modules and made: insmod nozomi
then:
/etc/init.d/pcmciautils start
* Starting PCMCIA services...
i connect my card. /var/log/messages tells me:
May 11 20:55:56 localhost kernel: [4297300.915000] pccard: CardBus card inserted into slot 0
May 11 20:55:56 localhost kernel: [4297300.915000] [1452] nozomi_card_init(): Init, cards_found: 1
May 11 20:55:56 localhost kernel: [4297300.915000] [1341] nozomi_get_card_type(): Card type is: 2048
May 11 20:55:56 localhost kernel: [4297300.915000] PCI: Enabling device 0000:0b:00.0 (0000 -> 0002)
May 11 20:55:56 localhost kernel: [4297300.915000] ACPI: PCI Interrupt 0000:0b:00.0[A] -> GSI 20 (level, low) -> IRQ 201
May 11 20:55:57 localhost kernel: [4297300.917000] Nozomi driver nozomi_tty<6>[792] nozomi_read_config_table(): Version of card: 3
May 11 20:55:57 localhost kernel: [4297302.050000] [784] nozomi_read_config_table(): Initialization OK!
May 11 20:58:11 localhost kernel: [4297436.438000] pccard: card ejected from slot 0
May 11 20:58:11 localhost kernel: [4297436.469000] ACPI: PCI interrupt for device 0000:0b:00.0 disabled
from /usr/bin/setpin (look at this script later) i get the message PIN accepted and the blue light of the card is blinking.
then i get from wvdial (configuration of wvdial later):
--> WvDial: Internet dialer version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK
--> Modem initialized.
--> Idle Seconds = 3000, disabling automatic reconnect.
--> Sending: ATD*99***1#
--> Waiting for carrier.
ATD*99***1#
CONNECT 1800000
--> Carrier detected. Waiting for prompt.
--> Connected, but carrier signal lost! Retrying...
--> Sending: ATD*99***1#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATD*99***1#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATD*99***1#
--> Waiting for carrier.
# File: /usr/bin/setpin
#!/usr/bin/env perl
use strict;
use warnings;
# my $modem = "/dev/usb/tts/0";
my $modem = "/dev/noz0";
# Substitute xxxx with your PIN.
# You should probably put your pin somewhere else, e.g. on an USB stick,
# an encrypted file system or something else, and read it from there...
# You have been warned!
my $pin = "1234";
$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);
}
}
# File: /etc/ppp/peers/wvdial
# WvDial options
#
plugin passwordfd.so
#
noauth
name wvdial
defaultroute
replacedefaultroute
noipdefault
usepeerdns
novj
#File: /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/noz0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","internet"
Area Code =
Phone = *99***1#
Username = dummy
Password = dummy
Ask Password = 0
Dial Command = ATD
Stupid Mode = 0
Compuserve = 0
Force Address =
Idle Seconds = 3000
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
[Dialer Another]
Init3 = AT+CGDCONT=1,"IP","AnotherAPN"
I have problems to get a connection into the internet with my vodafone card. i write what i have done in the hope that somebody can help me.
My vodafone card is an option Qualcomm 3G CDMA Model: GT 3G+ EMEA; SNR: NZ...
i use ubuntu dapper beta with kernel 2.6.15-21-686.
i installed nozomi-modules and made: insmod nozomi
then:
/etc/init.d/pcmciautils start
* Starting PCMCIA services...
i connect my card. /var/log/messages tells me:
May 11 20:55:56 localhost kernel: [4297300.915000] pccard: CardBus card inserted into slot 0
May 11 20:55:56 localhost kernel: [4297300.915000] [1452] nozomi_card_init(): Init, cards_found: 1
May 11 20:55:56 localhost kernel: [4297300.915000] [1341] nozomi_get_card_type(): Card type is: 2048
May 11 20:55:56 localhost kernel: [4297300.915000] PCI: Enabling device 0000:0b:00.0 (0000 -> 0002)
May 11 20:55:56 localhost kernel: [4297300.915000] ACPI: PCI Interrupt 0000:0b:00.0[A] -> GSI 20 (level, low) -> IRQ 201
May 11 20:55:57 localhost kernel: [4297300.917000] Nozomi driver nozomi_tty<6>[792] nozomi_read_config_table(): Version of card: 3
May 11 20:55:57 localhost kernel: [4297302.050000] [784] nozomi_read_config_table(): Initialization OK!
May 11 20:58:11 localhost kernel: [4297436.438000] pccard: card ejected from slot 0
May 11 20:58:11 localhost kernel: [4297436.469000] ACPI: PCI interrupt for device 0000:0b:00.0 disabled
from /usr/bin/setpin (look at this script later) i get the message PIN accepted and the blue light of the card is blinking.
then i get from wvdial (configuration of wvdial later):
--> WvDial: Internet dialer version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK
--> Modem initialized.
--> Idle Seconds = 3000, disabling automatic reconnect.
--> Sending: ATD*99***1#
--> Waiting for carrier.
ATD*99***1#
CONNECT 1800000
--> Carrier detected. Waiting for prompt.
--> Connected, but carrier signal lost! Retrying...
--> Sending: ATD*99***1#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATD*99***1#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATD*99***1#
--> Waiting for carrier.
# File: /usr/bin/setpin
#!/usr/bin/env perl
use strict;
use warnings;
# my $modem = "/dev/usb/tts/0";
my $modem = "/dev/noz0";
# Substitute xxxx with your PIN.
# You should probably put your pin somewhere else, e.g. on an USB stick,
# an encrypted file system or something else, and read it from there...
# You have been warned!
my $pin = "1234";
$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);
}
}
# File: /etc/ppp/peers/wvdial
# WvDial options
#
plugin passwordfd.so
#
noauth
name wvdial
defaultroute
replacedefaultroute
noipdefault
usepeerdns
novj
#File: /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/noz0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","internet"
Area Code =
Phone = *99***1#
Username = dummy
Password = dummy
Ask Password = 0
Dial Command = ATD
Stupid Mode = 0
Compuserve = 0
Force Address =
Idle Seconds = 3000
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
[Dialer Another]
Init3 = AT+CGDCONT=1,"IP","AnotherAPN"