ricki21
Posts: 29
Joined: Sat Jan 19, 2013 2:31 am

New Raspberry Pi

Sat Feb 02, 2013 2:27 am

My raspberry Pi just arrived very very excited can't wait to start using it my keyboard hasn't arrived yet though so I'm just sat staring at it longingly anyone be able to talk me through using my windows 8 laptop as a keyboard for my Pi I've downloaded Putty for my laptop but how do I know what info to put into it and what do I do once I'm up and running never done any programming really want to get stuck in !! thanks for any help

User avatar
tonyhughes
Posts: 951
Joined: Wed Dec 26, 2012 3:46 am

Re: New Raspberry Pi

Sat Feb 02, 2013 3:13 am

There are dozens or even hundreds of ways to start using it.

Here is just one way, its not right or wrong, it just works.
  • Get Raspbian onto your SD card.
    Plug your Pi into your router with a network cable and power it up.
    Your routers admin interface should let you figure out the IP address of your Pi.
    Use Putty to ssh into the IP address of your Pi (username pi password raspberry).
    Start doing what you want to do.
Once you know your laptops or routers IP address, figuring out your Pi ip should be simple.

If your laptop is 192.168.1.3 or similar, you can try 192.168.1.x (start at 1 and work your way up).

Happy to help further if you get stuck.

ricki21
Posts: 29
Joined: Sat Jan 19, 2013 2:31 am

Re: New Raspberry Pi

Sat Feb 02, 2013 3:32 am

hey thank you for the quick reply how do I find my laptops I.P ? I have putty already the pi is set up what know :s haha im very new to this

ricki21
Posts: 29
Joined: Sat Jan 19, 2013 2:31 am

Re: New Raspberry Pi

Sat Feb 02, 2013 4:29 am

my ip is 141.101.98.137 what would that make the pi?

User avatar
tonyhughes
Posts: 951
Joined: Wed Dec 26, 2012 3:46 am

Re: New Raspberry Pi

Sat Feb 02, 2013 4:45 am

That looks like a public ip address.

You need to know your LAN address.

Check in your routers administration web interface, or your computers network settings.

Are you on Windows, Linux, or OSX?

ricki21
Posts: 29
Joined: Sat Jan 19, 2013 2:31 am

Re: New Raspberry Pi

Sat Feb 02, 2013 4:55 am

I'm running windows 8 I got that from myip.com or what ever the website is

User avatar
tonyhughes
Posts: 951
Joined: Wed Dec 26, 2012 3:46 am

Re: New Raspberry Pi

Sat Feb 02, 2013 4:57 am

I've never used Windows 8, but if you get into your control panel and find networking, it should be trivial to find your IP address.

Check anything to do with DHCP or TCP/IP or LAN or Network settings.

Your address is likely 10.1.1.x or 192.168.x.x

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: New Raspberry Pi

Sat Feb 02, 2013 7:38 am

I'd get the IP address of the machine running Windows 8, the same way I'd do any version of windows. Go to command prompt (its in "All Apps") and run

Code: Select all

ipconfig
.

The pretty GUI method in control panel will only tell you its set to DHCP and not give you the actual IP address..

Getting the ip address of the Pi is a bit more tricky, as has already been mentioned, you can login to the router (the default gateway given by the earlier step) and somewhere in there (they're all different) will be the IP address it doled out to the Pi. Failing that, you install some network scanning software (nmap is available for pretty much any OS - http://nmap.org/ ) and use that.

Or you do it the trial and error way as already mentioned using the same subnet as the laptop (usually the first three numbers - octets are the same). Most routers issue IP addresses in the middle of the 254 options somewhere.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: New Raspberry Pi

Sat Feb 02, 2013 8:08 am

The IP address reported by websites tells you the external or global IP address of your router. It is no help whatever in determining the private or local IP address used on your LAN. Part of the routers job is to stop that information getting out- it uses a system called NAT (network address translation). The outside world only ever sees one side of NAT, the private bit is as it says - private.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: New Raspberry Pi

Sat Feb 02, 2013 10:46 am

If you have an Android device on the network, there is an app called "Fing" which can show you all the IP addresses for all your devices:
Image

The one made by Netgear is obviously the router. The Raspberry Pi shows up unmistakeably.
(I've blurred out a lot of the data, because I'm not sure what it might tell prospective hackers about my set-up.)

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: New Raspberry Pi

Sat Feb 02, 2013 10:55 am

pluggy wrote: install some network scanning software (nmap is available for pretty much any OS - http://nmap.org/ ) and use that.
Do not run nmap at school or in an office. It is so good and gives so much information about the network that the IT admin may treat it as a hostile act. Even just having it on your computer can lead to your having to answer difficult questions. See: http://nmap.org/movies/

ricki21
Posts: 29
Joined: Sat Jan 19, 2013 2:31 am

Re: New Raspberry Pi

Sat Feb 02, 2013 11:04 am

I've got an android phone so will try that app out later and see if I can get kt running thanks for all the advice guys

ricki21
Posts: 29
Joined: Sat Jan 19, 2013 2:31 am

Re: New Raspberry Pi

Sat Feb 02, 2013 11:56 am

Got it working very happy! Updated but can't get startx command to work any ideas ?

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: New Raspberry Pi

Sat Feb 02, 2013 12:57 pm

startx starts an X server on the Pi. You're not using the Pi screen, so it doesn't help you. You need an X server running on your laptop. Install Xming on the laptop and start the putty connection with "Enable XLIB tunneling" (or something similar). Then start LXDE with the command

Code: Select all

lxsession &
Note: don't use lxsession on a MAC or Linux box; it will take over your desktop.

ricki21
Posts: 29
Joined: Sat Jan 19, 2013 2:31 am

Re: New Raspberry Pi

Sat Feb 02, 2013 3:48 pm

okay ive installed that what now ? tried to open it doesn't open

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: New Raspberry Pi

Sat Feb 02, 2013 4:11 pm

Start XMing
Start Putty
Connect to the Pi, specifying X tunnelling.
Give the pi the command "lxsession &".

ricki21
Posts: 29
Joined: Sat Jan 19, 2013 2:31 am

Re: New Raspberry Pi

Sat Feb 02, 2013 4:59 pm

xming isn't set to just connect to the pi

ricki21
Posts: 29
Joined: Sat Jan 19, 2013 2:31 am

Re: New Raspberry Pi

Sat Feb 02, 2013 9:34 pm

no offence but your post wasn't much help I got it connected in the end but when I do connect it disappears from the tv and its strange having windows 8 and the raspberry pi going at the same time need help big time on learning programing though !!!!

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: New Raspberry Pi

Sat Feb 02, 2013 9:55 pm

ricki21 wrote:no offence but your post wasn't much help I got it connected in the end but when I do connect it disappears from the tv and its strange having windows 8 and the raspberry pi going at the same time need help big time on learning programing though !!!!
Yep, Windoze 8 is definitely strange compared to Linux, glad I abandoned Windoze !
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

User avatar
KronosPi
Posts: 5
Joined: Sun Feb 03, 2013 5:22 pm

Re: New Raspberry Pi

Sun Feb 03, 2013 5:35 pm

Hey,
I'm new to the forum, don't know much about the forum ethics, but my doubt was related to this thread so I thought it'd be OK if I didn't start a new topic.
I have a laptop, a single ethernet cable, an SD Card flashed with Rasbian, and a power supply for my Raspberry Pi. I have already done the first startup of my RPi at a hdmi screen+keyboard+mouse interface. I have PuTTY, an IP finder and VNCserver setup on my PC. When I connect my RPi to my PC through an ethernet cable, all the led's power up, the sd card is inserted and the power is on. How do I start running PuTTY and VNC and WinSCP?? I can't seem to find the IP address for the RPi connection, I've tried ipconfig /all and the IP finder for ranges close to my PC's IP....help??

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: New Raspberry Pi

Sun Feb 03, 2013 6:38 pm

rurwin wrote:
pluggy wrote: install some network scanning software (nmap is available for pretty much any OS - http://nmap.org/ ) and use that.
Do not run nmap at school or in an office. It is so good and gives so much information about the network that the IT admin may treat it as a hostile act. Even just having it on your computer can lead to your having to answer difficult questions. See: http://nmap.org/movies/
Didn't I mention its illegal in some jurisdictions ?

Whoops.....

Too damn useful to be without though. ;)
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

User avatar
tonyhughes
Posts: 951
Joined: Wed Dec 26, 2012 3:46 am

Re: New Raspberry Pi

Sun Feb 03, 2013 8:00 pm

KronosPi wrote:Hey,
I'm new to the forum, don't know much about the forum ethics, but my doubt was related to this thread so I thought it'd be OK if I didn't start a new topic.
I have a laptop, a single ethernet cable, an SD Card flashed with Rasbian, and a power supply for my Raspberry Pi. I have already done the first startup of my RPi at a hdmi screen+keyboard+mouse interface. I have PuTTY, an IP finder and VNCserver setup on my PC. When I connect my RPi to my PC through an ethernet cable, all the led's power up, the sd card is inserted and the power is on. How do I start running PuTTY and VNC and WinSCP?? I can't seem to find the IP address for the RPi connection, I've tried ipconfig /all and the IP finder for ranges close to my PC's IP....help??
Very loosely related, and everyone following this thread has probably seen the OP state its all working now, so people will stop reading it...

Create a new thread, with a relevant title, and you should get some decent help.

Jumping on a solved thread entitled "New Raspberry Pi" is probably not going to get your issue seen by many people.

Cheers.
T

ricki21
Posts: 29
Joined: Sat Jan 19, 2013 2:31 am

Re: New Raspberry Pi

Mon Feb 04, 2013 11:25 am

hey mate if you have an android phone download fing turn the pi on then fing and it will tell you the ip address on there I used xming to connect to the pi and it works like a dream also you don't need to do anything on the pi everything is on your laptop download xming once you've done that give me a pm and I will talk you through it

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: New Raspberry Pi

Mon Feb 04, 2013 11:52 am

ricki21 wrote:hey mate if you have an android phone download fing turn the pi on then fing and it will tell you the ip address on there I used xming to connect to the pi and it works like a dream also you don't need to do anything on the pi everything is on your laptop download xming once you've done that give me a pm and I will talk you through it
And to think I failed English O Level......
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

User avatar
RaTTuS
Posts: 10558
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: New Raspberry Pi

Mon Feb 04, 2013 12:00 pm

pluggy wrote:
And to think I failed English O Level......
;) :D
I did that too .... :oops:
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

Return to “General discussion”