Vodafone pc card. Please help!

Jordi Ferrando Fabra jferrando at netplc.com
Sun Jul 22 15:15:21 UTC 2007


Hi Mario,

This is my output (now I am on vacations in the island of Menorca using 
my 3G vodafone card ...)

netplc at portlinux:~/u$ sudo ./dial_3g.sh
Password:
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATE0V1&D2&C1S0=0+IFC=2,2
ATE0V1&D2&C1S0=0+IFC=2,2
OK
--> Sending: AT+CGDCONT=1,"IP","ac.vodafone.es";
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
CONNECT 384000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sun Jul 22 17:08:53 2007
--> Pid of pppd: 5950
--> Using interface ppp0
--> local  IP address 77.209.18.155
--> remote IP address 10.64.64.64
--> primary   DNS address 212.73.32.3
--> secondary DNS address 212.73.32.67

Then route shows:

netplc at portlinux:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
10.64.64.64     *               255.255.255.255 UH    0      0        0 ppp0
link-local      *               255.255.0.0     U     0      0        0 eth0
default         *               0.0.0.0         U     0      0        0 ppp0
default         *               0.0.0.0         U     1000   0        0 eth0

And also interesting, the dialer changed the /etc/resolv.conf file by 
adding the DNS servers:

netplc at portlinux:~$ cat /etc/resolv.conf
nameserver 212.73.32.3
nameserver 212.73.32.67
search netplc.com

Basic check:

netplc at portlinux:~$ ping www.google.com
PING www.l.google.com (64.233.183.99) 56(84) bytes of data.
64 bytes from nf-in-f99.google.com (64.233.183.99): icmp_seq=1 ttl=237 
time=238 ms
64 bytes from nf-in-f99.google.com (64.233.183.99): icmp_seq=2 ttl=237 
time=209 ms
64 bytes from nf-in-f99.google.com (64.233.183.99): icmp_seq=3 ttl=237 
time=219 ms

--- www.l.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 209.365/222.550/238.562/12.086 ms

Mario Gianni escribió:
> - original message -
> Subject:	Re: Vodafone pc card. Please help!
> From:	"Howard Coles Jr." <dhcolesj at gmail.com>
> Date:		22/07/2007 02:48
>
> On Saturday 21 July 2007 04:20:55 pm Mario Gianni wrote:
>
>   
>> Howard
>>
>> I have created the files and I get connected (I see the IP Addr from
>> Vodafone when I issue "sudo wvdial hsdpa"). But when I open the browser and
>> put any web site I can't get the page. I tried to make some ping through a
>> konsole and it seems to work. DNS correctly translates the www link into an
>> IP and get a reply.
>>
>>     
> Ok, well, if you're getting an IP address then we need to find out what 
> devices you have, and what errors you're getting.
>
> 1st, from a command shell (konsole)
> Enter the following:
>
> sudo su -
>
> Then enter your password.
> This will get you a "root" shell, so we don't have to keep typing "sudo" at 
> the front of every line.
> Now, type:
>
> ifconfig
>
> then copy the output and paste it in a reply.
>
>
> it's not easy to copy everything. Remember I'm writing mails with my Nokia. :)
>
> With ifconfig I get:
>
> eth0 which is the intel wireless card
> eth1 which is the intel wired card
> (both with mac and no ip addr because not connected. Metric is 1)
>
> lo which is the loopback
>
> then I get after connected with wvdial also
>
> ppp0 link encap point-to-point protocol
> inet addr: 83.xx.xx.xx  p-to-p: 10.xx.xx.xx  mask: 255.255.255.255
> up pointopoint running noarp multicast mtu: 1500  metric: 1
>
> then numbers regarding the rx and tx packets and bytes. Please note that if I issue a ping this numbers clearly increase (I believe it means packets correctly go out through the vodafone card).
>
>
> Then type
>
> route
>
> and copy the output.
>
>
> The result of route is:
>
> 10.xx.xx.xx (same ip addr as above)  *  255.255.255.255  UH  0  0  0  ppp0
> default  *  0.0.0.0  U  0  0  0  ppp0
>
> it seems that the routes are through ppp0. They seem fine to me. What do you think?
>
> the only thing is metric which is 0 (field after the flags field).
>
> also tried to issue an apt-get update and it worked. So only browser cannot open web pages! Weird!
>
> thanks
> mario
>
>   





More information about the kubuntu-users mailing list