wandiligong
Posts: 19
Joined: Sat Jun 27, 2015 8:01 am
Location: Melbourne Australia

LAN connection problems

Thu Jul 02, 2015 5:17 am

Raspberry Pi B, powered hub, Raspbian, Openelec

Have had system working with previous version of XBMC
Tried to install WiFi. Much grief.
Downloaded latest NOOBS and installed Rapbian and Openelec - start again freash
Tried to install WiFi. Much grief.
Changed IP to static (so I thought) but still having problems. Ethernet connection works but not WiFi
Objective to eventually get Yatse to connect, put Raspberry next to stereo and play music collection from USB
I have extracted what seems to be the relevant info from ifconfig, network/interfaces and results of ping and what shows on the Raspbian GUI. I have typed these and created pdf file attached (I don't know of any other way of screen capture?)
The static IP seems to be recognized only in /network/interfaces?

I have spent days trolling through forum and other sites. I have worked through most of the guide (until I ceased to understand how) I found somewhere on the forum to test the dongle etc. This showed it to work OK physically

Any assistance would be greatly appreciated

Do not seem to be able to attach a file - print details below instead

With only WiFi dongle connected
Terminal
Ping 10.1.1.1 Result OK
Ifconfig

Wlan0
Link encap:Ethernet hwaddr e8:4e:06:2b:8e:1e
Inet addr 10.1.1.6 Bcast 10.1.1.255 Mask 255.255.255.0
UP BROADCAST …………….
RX packets ………….
TX packets ………………..
Collision ………
Rx bytes ……………………..

CAT /etc/network/interfaces

Auto lo
Iface lo inet loopback

Auto etho
Allow –hot plug etho
Iface etho inet static
Address 10.1.1.200
Netmask 255.255.255.0
Network 10.1.1.0
Broadcast 10.1.1.255
Gateway 10.1.1.1

Auto wlano
Allow –hot plug wlan0
Iface wlan0 inet manual
Wpa – config /etc/wpa_supplicant/wpa_supplicant.conf
Iface default inet static
Address 10.1.1.200
Netmask 255.255.255.0
Network 10.1.1.0
Gateway 10.1.1.1

RASPBIAN GUI
Network icon shows
Wlano configured 10.1.1.6/9 –
In Network Preferences shows for Interface wlan0-
IP address 10.1.1.6
Router 10.1.1.1
NO INTERNET BROWSER CONNECTION

With only Ethernet cable connected
Terminal
Ping 10.1.1.1 Result OK
Ifconfig

eth0
Link encap:Ethernet hwaddr b8:27:eb:cf:79:b1
Inet addr 10.1.1.200 Bcast 10.1.1.255 Mask 255.255.255.0
UP BROADCAST …………….
RX packets ………….
TX packets ………………..
Collision ………
Rx bytes ……………………..

CAT /etc/network/interfaces

Auto lo
Iface lo inet loopback

Auto etho
Allow –hot plug etho
Iface etho inet static
Address 10.1.1.200
Netmask 255.255.255.0
Network 10.1.1.0
Broadcast 10.1.1.255
Gateway 10.1.1.1

Auto wlano
Allow –hot plug wlan0
Iface wlan0 inet manual
Wpa – config /etc/wpa_supplicant/wpa_supplicant.conf
Iface default inet static
Address 10.1.1.200
Netmask 255.255.255.0
Network 10.1.1.0
Gateway 10.1.1.1


Network icon shows
Eth0 configured 10.1.1.2/24 –
In Network Preferences shows for Interface eth0-
IP address (no entry)
Router (no entry)
INTERNET BROWSER CONNECTION OK
Last edited by wandiligong on Thu Jul 02, 2015 5:30 am, edited 1 time in total.

wandiligong
Posts: 19
Joined: Sat Jun 27, 2015 8:01 am
Location: Melbourne Australia

Re: LAN connection problems

Thu Jul 02, 2015 5:23 am

What happened to my uploaded file?

pdf not allowed?

Try MS word?

wandiligong
Posts: 19
Joined: Sat Jun 27, 2015 8:01 am
Location: Melbourne Australia

Re: LAN connection problems

Fri Jul 03, 2015 5:28 am

I have decided to abort this whole thing and start again with setting up Raspbery Pi

Now on my 5th format sd and NOOBS installer !!

wandiligong
Posts: 19
Joined: Sat Jun 27, 2015 8:01 am
Location: Melbourne Australia

Re: LAN connection problems

Fri Jul 03, 2015 1:29 pm

After 5 times formatting sd card and reinstalling Raspian and openelec I have finally got a stable system and have managed to get WiFi working OK and also Yatse on my tablet pc.
For anyone else reading this for assistance I have not bothered with static IP address for Pi. Hopefully it will not cause future problems.
Curiously the port shown for my WiFi connection using the icon on top of the Raspian screen of 24 (10.1.1.6/24) is different to that shown in Openelec which is 80? Yatse responds OK to 80

I set up everything using Ethernet cable then just removed the cable and inserted the WiFi adapter and using the icon on the top of the Raspian screen added LAN password and all was good- EXCEPT OPENELEC would not accept / recognize wlan settings. I have not seen anything about this in forum or elsewhere on the net. However searching around in Openelec system or settings , not really sure where, (perhaps network) came across section enabling choice of various networks. Selecting my wlan all was good.

I have lived successively with DOS, Windows and Linux distros but have not experienced the same grief as I have had with Raspbery Pi. I still don't know why it took 5 installs to get it right?

Thanks to those forum members who attempted to assist me.

Lastly the text config facility in NOOBS does not seem to be explained anywhere in begginers notes. My text disappeared off the left screen until Dougie alerted me to how to fix it. Very frustrating when nothing seems to work and lots of suggestions involve code which I could not see.

Return to “Beginners”