[SPAM] Re: [Voyage-linux] Huawei E160

Robert Rawlins - Think Blue (spam-protected)
Thu May 21 21:47:07 HKT 2009


OK Seems like I now have this working! :-D

Seems that it was connecting just fine but the reason I couldn’t ping
anything was because I was connected via Ethernet to the box and the default
route wasn’t being set properly when the GPRS ppp connection was
established.

I edit /etc/ppp/peers/wvdial and added the option 'replacedefaultroute' and
now when the connection is established I can ping and wget using the ppp
connection :-)

One thing I have been unable to do though is connect inbound via SSH using
the ppp connection, I can still only connect using the Ethernet. I've done a
wget on an URL which gives me the boxes remote IP address on the ppp
connection however trying to connect via SSH on that IP from another system
doesn’t seem to work.

Any suggestions on what I might need to do to get those inbound connections
working?

Thanks for all the help so far, I really appreciate it!

Rob

-----Original Message-----
From:
voyage-linux-bounces+robert.rawlins=thinkbluemedia.co.uk at list.voyage.hk
[mailto:voyage-linux-bounces+robert.rawlins=thinkbluemedia.co.uk at list.voyage
.hk] On Behalf Of Robert Rawlins - Think Blue
Sent: 21 May 2009 08:33
To: 'voyage-linux'
Subject: RE: [SPAM] Re: [Voyage-linux] Huawei E160

Jordi,

Thanks for your help so far, I'm going to do some more testing on this
today. One thing I couldn't see with the PPPConfig method was somewhere to
place my APN address, which apparently is wap.o2.co.uk, does the PPP not
require this? Perhaps using a default address which is set in the adapter or
SIM? I couldn’t only find place for a username/password/number and nothing
more.

Your English is just fine! :-)

Thanks,

Rob

-----Original Message-----
From: Jordi Soucheiron [mailto:jsoucheiron at dexmatech.com] 
Sent: 20 May 2009 23:24
To: Gustin Johnson
Cc: Robert Rawlins - Think Blue; voyage-linux
Subject: Re: [SPAM] Re: [Voyage-linux] Huawei E160

Hi Gustin,
Usually dynamic dns work fine. Here in Spain sometimes we have
problems with ICMP messages over 3g connections so I use curl or wget
to test the connection instead of pings (and to check if the
connection is still alive ;) ). You can also try to enable the debug
output of pppd and check if it prints something useful.

There are several ways to connect on boot. I usually make a startup
script in /etc/init.d and link it using update-rc.d. But it's up to
you, there are many other ways to solve this problem.
Excuse my english.

2009/5/20 Gustin Johnson <gustin at echostar.ca>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Robert Rawlins - Think Blue wrote:
>> O.K. Jordi that sounds good! I have my supposed APN/Username/Password
here.
>>
>> I've configured pppconfig with my username, password and the telephone
>> number as *99#, does that sound correct?
>>
>> Then I run 'pon o2' which seems to go ok, I then get a new ppp device
listed
>> under 'ifconfig'. However, I'm unable to ping any external addresses such
as
>> www.google.co.uk I'm wondering if this is a DNS issue?. When configuring
>> pppconfig it asks if the DNS is static, dynamic or none, which of these
>> should I be choosing?
>>
> It depends on the ISP.
> You might to set the OpenDNS servers in the /etc/resolv.conf
> Their DNS servers are:
> 208.67.222.222
> 208.67.220.220
>
>> Also, how would you recommend I set this so that the connection is
>> established on boot? The idea being that these are remote systems out in
the
>> field and I need them auto-connect and ensure they stay connected.
>
> Can't help here, I have not used ppp in more than 10 years.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkoUayYACgkQwRXgH3rKGfMQhQCfWyxvt7DQQ7OyLbx7WY7UDz/d
> d3gAn1xwPlH4g3tjJYy6oqjGefpO2ChK
> =YsSq
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>



-- 
Jordi Soucheiron
Software Engineer

DEXMA
Parc Tecnològic la Salle
Sant Joan de la Salle, 42
08022 Barcelona
t/f: [+34] 93 181 01 95
www.dexmatech.com
jsoucheiron at dexmatech.com


_______________________________________________
Voyage-linux mailing list
Voyage-linux at list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux





More information about the Voyage-linux mailing list