It looks to me like you have a connection to your internal LAN, via tcpip however you have no connection to the internet.
How does you Xp machine connect to the internet? Presumably thru a hub/router of some sort.
You need to get access to an ip address from the internet via DHCP or whatever means your Xp machine uses.
From: beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] On Behalf Of siddh...@gmail.com
Sent: Tuesday, April 02, 2013 9:39 AM
To: beagl...@googlegroups.com
Cc: shra...@gmail.com
Subject: [beagleboard] Unable to ping internet from beaglebone (Using windows XP)
Hello All,
Sorry for probably posting a naive query, but I would really appreciate some quick help here!
I recently purchased a beaglebone and am trying to connect it to the internet while using windows XP. I am trying to follow the link given here: http://learn.adafruit.com/beaglebone/ethernet and have successfully come up to the point when I am supposed to test the outgoing connection by pinging an address (..."Now you can test the outgoing connection. Type in ping 18.70.0.160 and hit return."...). Somehow all I am getting is this:
--- 18.70.0.160 ping statistics ---
103 packets transmitted, 0 received, 100% packet loss, time 102007ms
I have tried pinging various website (www.google.com, www.ieee.org, etc.) but to no avail.
I also tried pinging an intranet link and, to my surprise, in this case it transmits all the packets successfully!
Any idea why this is happening and how I can get around it?
Thanks & Best Regards,
Siddharth
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3267 / Virus Database: 3161/6220 - Release Date: 04/02/13
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3267 / Virus Database: 3161/6209 - Release Date: 03/27/13
Thanks for the reply William and Gopal...
@Gopal - Its exactly what you mentioned. I am not much familiar with network options. I have my BB connected to a router. The same router is also connected to my host PC and it works fine. I can surely give u more details, if u can guide on what all you need.
Looking at another similar thread I have tried some things:
1) Checked if eth0 has a gateway set by doing: root@beaglebone:~# cat /proc/net/route
The message I get upon hitting return is:
Iface Destination Gateway Flags RefCnt Use Metric Mask M
TU Window IRTT
eth0 00000000 FEF3B394 0003 0 0 0 00000000
0 0 0
eth0 10CAB394 FEF3B394 0007 0 0 0 FFFFFFFF
0 0 0
eth0 00F3B394 00000000 0001 0 0 0 00FFFFFF
0 0 0
eth0 FEF3B394 00000000 0005 0 0 0 FFFFFFFF
0 0 0
eth0 1B326E97 FEF3B394 0007 0 0 0 FFFFFFFF
0 0 0
eth0 1C326E97 FEF3B394 0007 0 0 0 FFFFFFFF
0 0 0
2) I tried adding a default gateway by doing the following: root@beaglebone:~# route add default gw 148.179.243.254 dev eth0
(148.179.243.254 is the default gateway for my router)
To this, I am getting this message:
route: SIOCADDRT: File exists
3) Tried pinging external internet: root@beaglebone:~# ping -c 5 google.com
To this, I am getting this message:
--- ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 9007ms
Would appreciate any further suggestions/ideas to make it work!
Thanks,
Siddharth
Thanks Mike. I tried doing what you suggested:
root@beaglebone:~# ping 173.194.73.103
PING 173.194.73.103 (173.194.73.103) 56(84) bytes of data.
^C
--- 173.194.73.103 ping statistics ---
11 packets transmitted, 0 received, 100% packet loss, time 10007ms
I also tried pinging google:
root@beaglebone:~# ping google.com
PING google.com (173.194.69.139) 56(84) bytes of data.
^C
--- google.com ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4007ms
In the message, the IP address next to google.com shows that router is able to resolve website into IP address. But still there is no communication taking place!
I tried pinging an intranet website, and it works just fine. Could there be an issue with the DNS server configuration? Please advice.
Thanks,
Siddharth
Thanks Mike. I tried doing what you suggested:
root@beaglebone:~# ping 173.194.73.103
PING 173.194.73.103 (173.194.73.103) 56(84) bytes of data.
^C
--- 173.194.73.103 ping statistics ---
11 packets transmitted, 0 received, 100% packet loss, time 10007ms
I also tried pinging google:
root@beaglebone:~# ping google.com
PING google.com (173.194.69.139) 56(84) bytes of data.
^C
--- google.com ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4007ms
In the message, the IP address next to google.com shows that router is able to resolve website into IP address. But still there is no communication taking place!
I tried pinging an intranet website, and it works just fine. Could there be an issue with the DNS server configuration? Please advice.
Thanks,
Siddharth
On Wednesday, 3 April 2013 21:29:30 UTC+5:30, Mike Borden wrote:
1) Results of ipconfig /all on windows
2) Results of 'ifconfig -a' on beaglebone
3) Doing cat /etc/resolv.conf gives following result
root@beaglebone:~# cat /etc/resolv.conf
# Generated by Connection Manager
nameserver 127.0.0.1
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/6VCaDabyowk/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
dnsmasq should be running and listening on localhost.
Ah, I didn't realize you were using connman for your network configuration. Changing the nameserver with connman doesn't seem to change anything in the /etc/resolv.conf file, so no worries there. If your Nameservers [] field is updated when you execute "get-services", you should be ok.I checked the output of my "get-services" against yours and the only difference is that your "State = ready" and my "State = online". From this link:
http://comments.gmane.org/gmane.linux.network.connman/10238it appears that the transition to "online" only occurs when it is able to fetch the page indicated in the link. So if you don't have internet connectivity (which your previous posts indicate you don't), that would explain why your status hasn't transitioned. Also, since you're using DHCP, your server seemed to be serving you a couple perfectly good nameservers (presumably, since they're the same ones that were handed to your XP box).
In a previous post you mentioned that your organization did have a firewall. You said you can ping your gateway (which is on the same subnet as your BeagleBone), but can you ping your DNS servers?
Can you ping anything not on your immediate subnet?
Is it possible that your organization's routers are setup to block unknown hosts or ports?
At this point your configuration does not immediately appear to be the issue, so I would investigate those next. At my last company ports were tied to specific MAC addresses, so rogue devices could DHCP an address, but could not actually reach any other machines. Just a thought.
So you can ping hosts on your subnet, and you are being routed (through your default gateway) to hosts on other subnets (i.e. your nameservers), and you can even ping your own company's URL, which would likely indicate that your nameservers are resolving that for you. But you can't ping external hosts via hostname or direct IP (i.e. the Google IP I gave you to try before). This sounds like it's not an issue with your BeagleBone config, but more likely a routing issue internal to your company. I would contact your IT folks to see if they can help you figure it out.