Using Launch2Net to manually set DNS and APN (and later, using same DNS manually in OS X)

| | Comments (0)
As I've previous written about I've had problems connecting to my tele2 internet. I've tried changing modem but while it appeared to be working a while, it stopped later on the same week. My second approach was to set DNS and APN manually. Some background:

When I tried to connect I got to "Authenticating" and then it simply timed out. My logs said:

Sun Jul  5 15:12:01 2009 : sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Sun Jul  5 15:12:04 2009 : sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Sun Jul  5 15:12:07 2009 : sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Sun Jul  5 15:12:10 2009 : sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Sun Jul  5 15:12:13 2009 : sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Sun Jul  5 15:12:16 2009 : sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]

And Launch2Net said that it tried to get TCP/IP settings but timed out. Thus I had a hunch that it was failing to get IP adress and/or DNS. I scrolled through the logs, and found this (from a successfull attempt):

Sat Jul  4 16:10:05 2009 : Could not determine remote IP address: defaulting to 10.64.64.64
Sat Jul  4 16:10:05 2009 : local  IP address 90.130.200.117
Sat Jul  4 16:10:05 2009 : remote IP address 10.64.64.64
Sat Jul  4 16:10:05 2009 : primary   DNS address 130.244.127.161
Sat Jul  4 16:10:05 2009 : secondary DNS address 130.244.127.169

And knowing that tele2s APN was mobileinternet.tele2.se I tried to use a custom configuration with:

APN: mobileinternet.tele2.se
User: <blank>
Pass: <blank>
DNS #1 and #2 as above.

So far so good, I could connect, I got a new IP. My log says:

un Jul  5 15:17:49 2009 : ipcp: returning Configure-NAK
Sun Jul  5 15:17:49 2009 : sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
Sun Jul  5 15:17:49 2009 : rcvd [IPCP ConfNak id=0x3 <addr 90.130.237.92> <ms-dns1 130.244.127.161> <ms-dns3 130.244.127.169>]
Sun Jul  5 15:17:49 2009 : sent [IPCP ConfReq id=0x4 <addr 90.130.237.92> <ms-dns1 130.244.127.161> <ms-dns3 130.244.127.169>]
Sun Jul  5 15:17:49 2009 : rcvd [IPCP ConfReq id=0x1]
Sun Jul  5 15:17:49 2009 : ipcp: returning Configure-ACK
Sun Jul  5 15:17:49 2009 : sent [IPCP ConfAck id=0x1]
Sun Jul  5 15:17:49 2009 : rcvd [IPCP ConfAck id=0x4 <addr 90.130.237.92> <ms-dns1 130.244.127.161> <ms-dns3 130.244.127.169>]
Sun Jul  5 15:17:49 2009 : ipcp: up
Sun Jul  5 15:17:49 2009 : Could not determine remote IP address: defaulting to 10.64.64.64
Sun Jul  5 15:17:49 2009 : local  IP address 90.130.237.92
Sun Jul  5 15:17:49 2009 : remote IP address 10.64.64.64
Sun Jul  5 15:17:49 2009 : primary   DNS address 130.244.127.161
Sun Jul  5 15:17:49 2009 : secondary DNS address 130.244.127.169

You can see the above call for IP:

Sun Jul  5 15:17:49 2009 : rcvd [IPCP ConfNak id=0x3 <addr 90.130.237.92> <ms-dns1 130.244.127.161> <ms-dns3 130.244.127.169>]
Sun Jul  5 15:17:49 2009 : sent [IPCP ConfReq id=0x4 <addr 90.130.237.92> <ms-dns1 130.244.127.161> <ms-dns3 130.244.127.169>

Which seems to work much better now, using a fixed DNS. But since I prefer to use OS X native (no third party applications - specially those who cost 80EUR) I opened my Huwaei network settings and added the DNS manually as well. So far so good.

Leave a comment

About this Entry

This page contains a single entry by Niklas Bivald published on July 5, 2009 3:18 PM.

Xen problems: SSH to new domain gives "PTY allocation request failed on channel 0" and "stdin is not a tty" was the previous entry in this blog.

Flashing SuperMicro bios (X7DVL-3) with USB stick/drive/pen/flash is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.21-en