x404.co.uk
http://www.x404.co.uk/forum/

Mobile Broadband - messes with network?
http://www.x404.co.uk/forum/viewtopic.php?f=4&t=2059
Page 1 of 1

Author:  paulzolo [ Sat Aug 01, 2009 2:45 pm ]
Post subject:  Mobile Broadband - messes with network?

I have a T-Mobile mobile broadband USB dongle, and it’s working pretty well. However, I think it’s mashed my machine’s networking. I can connect to the internet, but if I try to connect to any of the locally hosted sites, I get nothing - just a forever loading spinner.

Before the mobile dongle, I could access sites hosted on the local system quite happily, but now I’ve installed this dongle and it’s software, this is broken. So:

http://haddock.local - fails - loading spinner in Safari, Firefox similar

http://localhost - fails - Safari & Firefox say that they can not connect to localhost

IP address - fails

127.0.0.1 - fails as well - which is what makes me think the USB dongle software has broken something.

Anyone had anything similar? Is there a fix?

Author:  Nick [ Sat Aug 01, 2009 5:27 pm ]
Post subject:  Re: Mobile Broadband - messes with network?

What does your hosts file look like?

/private/etc/hosts

Is the location, you should see a number of entries in there. In particular, one for the loopback.

Author:  JJW009 [ Sat Aug 01, 2009 6:20 pm ]
Post subject:  Re: Mobile Broadband - messes with network?

When you have multiple network connections, your routing table is important in determining which physical interface is used for which IP address. I expect the dongle installation isn't designed with a local connection in mind, and simply routes everything to the Internet as the default gateway. After all, you wouldn't normally use one if you were connected to the lan as they're more designed for mobile use.

What are the IP addresses of the local servers and your local interface?

If you do a traceroute to the IP of the local site IP, it should reveal what's going wrong: From terminal, type "traceroute n.n.n.n" and post back the results.

Have a look at your routes: Open a terminal window and type "netstat -nr" and post back the results.

You'll probably have to add some static routes. I did a quick Google, but it doesn't look as simple as under Windows or Linux. I'm sure KW or someone can figure it out though, so I'll leave it to those who know. You could also have a quick look at this:

http://www.webboise.com/persistent-ip-r ... s-x-tiger/

Author:  paulzolo [ Sun Aug 02, 2009 9:51 am ]
Post subject:  Re: Mobile Broadband - messes with network?

OK, the hosts file looks like this:

Code:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1   localhost
255.255.255.255   broadcasthost
::1             localhost
fe80::1%lo0   localhost


I don’t have access to another Mac to compare with. I tried commenting some lines out, but got no change in behaviour.

The local server is apparently on 10.37.129.3, which is curiously a Parallels-Guest (this is normal, BTW, and does not appear to affect normal network activity), though with the lack of internet configuration, I usually have a locally assigned DHCP IP address on the airport port, which doesn’t happen.

Traceroute to 127.0.0.1 is:

Code:
traceroute to 127.0.0.1 (127.0.0.1), 64 hops max, 40 byte packets
 1  localhost (127.0.0.1)  0.511 ms  0.060 ms  0.048 ms


In a browser, it just fails instantly.

The netstat -nr produces:

Code:
netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            10.64.64.64        UGSc       72      138   ppp0
10.37.129/24       link#7             UCS         1        0    en2
10.37.129.3        127.0.0.1          UHS         0        3    lo0
10.37.129.255      ff:ff:ff:ff:ff:ff  UHLWb       0       12    en2
10.64.64.64        10.156.135.58      UH         74       26   ppp0
10.156.135/24      ppp0               USc         1        0   ppp0
10.211.55/24       link#8             UCS         1        0    en3
10.211.55.7        127.0.0.1          UHS         0        0    lo0
10.211.55.255      ff:ff:ff:ff:ff:ff  UHLWb       0       12    en3
127                127.0.0.1          UCS         0        0    lo0
127.0.0.1          127.0.0.1          UH          1       35    lo0
169.254            link#7             UCS         0        0    en2
192.168.2          link#4             UC          2        0    en0
192.168.2.1        0:16:cb:a1:9:49    UHLW        0        4    lo0
192.168.2.255      ff:ff:ff:ff:ff:ff  UHLWb       0       12    en0

Internet6:
Destination                             Gateway                         Flags      Netif Expire
::1                                     link#1                          UHL         lo0
fd5f:b828:6f24:9a37:216:cbff:fea1:949   link#1                          UHL         lo0
fe80::%lo0/64                           fe80::1%lo0                     Uc          lo0
fe80::1%lo0                             link#1                          UHL         lo0
fe80::%en1/64                           link#6                          UC          en1
fe80::%en2/64                           link#7                          UC          en2
fe80::21c:42ff:fe00:0%en2               0:1c:42:0:0:0                   UHL         lo0
fe80::%en3/64                           link#8                          UC          en3
fe80::21c:42ff:fe00:1%en3               0:1c:42:0:0:1                   UHL         lo0
ff01::/32                               ::1                             U           lo0
ff02::/32                               fe80::1%lo0                     UC          lo0
ff02::/32                               link#6                          UC          en1


I have found that I can use MAMP to run the local sites, so not all is lost, but even so, it’s frustrating to have things suddenly not working. I certainly agree that the Mobile Internet hardware assumes that I want that, but when I am on my local network, I would want to revert to usual behaviour, and even when I’m out an about, access to my locally hosted sites is at times essential.

Thanks for the help, folk. This is one area of computers where I am totally out of my depth, and certainly was not expecting this kind of behaviour.

Author:  Nick [ Sun Aug 02, 2009 3:44 pm ]
Post subject:  Re: Mobile Broadband - messes with network?

I'm right in thinking that you are running the web server in a virtual machine, and that virtual machine is 10.37.129.3, yeah?

If that's the case, then does 10.37.129.3 load in a browser?

Author:  paulzolo [ Sun Aug 02, 2009 5:28 pm ]
Post subject:  Re: Mobile Broadband - messes with network?

Nick wrote:
I'm right in thinking that you are running the web server in a virtual machine, and that virtual machine is 10.37.129.3, yeah?

If that's the case, then does 10.37.129.3 load in a browser?


No - there is no virtual machine running a server. That number is the Parallels “network” connection - and has been present for a long time with not affect on performance.

I am starting to wonder if a proxies setting has been messed with - nothing in the preferences though to suggest this, though I don’t know whether it has been “hidden”.

Author:  jonbwfc [ Sun Aug 02, 2009 9:40 pm ]
Post subject:  Re: Mobile Broadband - messes with network?

You know what the old standby is? Create another user account and log in through that. if you don't have the issue then, it's something specific to your account, which means it's probably not been fenangled at a very low level and you can start looking through prefs and the like.

Jon

Author:  saspro [ Mon Aug 03, 2009 8:58 am ]
Post subject:  Re: Mobile Broadband - messes with network?

Try accessing the site without the dongle.

It's due to (as said before) all traffic being routed via the 3G connection now via local or wireless.

It also doesn't help that you 3G dongle will have a private IP address

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/