Raspberry pi internet connection
FIXED- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Raspberry pi internet connection
04-06-2016 4:59 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
My Windows PC connects to the internet via an ethernet cable with no problems but using the same cable with my Raspberry Pi, I cannot connect. The network icon on the desktop appears to show a working connection but if I try to open a browser window, nothing happens. I've also tried to connect via the official Raspberry Pi wifi dongle with similar results. Any suggestions?
Fixed! Go to the fix.
Re: Raspberry pi internet connection
05-06-2016 1:54 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
What is your wiring layout for the Pi - is it wired directly into the back of your router, or is the wiring more complicated?
"In The Beginning Was The Word, And The Word Was Aardvark."
Re: Raspberry pi internet connection
05-06-2016 10:13 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
ifconfig
ping google.co.uk
Then give us the results here, you only need the ip address & gateway settings from ifconfig and whether the ping is successful or fails.
Re: Raspberry pi internet connection
05-06-2016 12:33 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi
Thanks for the answer. I read on another forum that sometimes reinstalling Raspbian could cure matters. It did - I can now connect by ethernet. However I still tried the commands you suggested and he result of Ifconfig was:
eth0 Link encap:Ethernet HWaddr b8:27:eb:a8:bf:6f
inet addr:192.168.1.7 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a8f7:1bcc:ae59:4766/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3079 (3.0 KiB) TX bytes:9531 (9.3 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:200 errors:0 dropped:0 overruns:0 frame:0
TX packets:200 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:16656 (16.2 KiB) TX bytes:16656 (16.2 KiB)
And to the ping -
pi@raspberrypi:~ $ ping google.co.uk
ping: icmp open socket: Operation not permitted
I'm now trying to connect with a wifi dongle (so far unsuccessfully) as I need the ethernet cable for my Windows pc.
Thanks again

Re: Raspberry pi internet connection
05-06-2016 12:47 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
For your ping try entering:
sudo chmod u+s /bin/ping
Then try again with ping.
05-06-2016 1:02 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Problem solved - edited /etc/network/interfaces as described at http://raspberrypihq.com/how-to-add-wifi-to-the-raspberry-pi/ and wifi dongle now working.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Raspberry pi internet connection