f-log

just another web log

19 Jan 2013 10:18
So the Saturn problem I was having was not what I feared, a knackered motherboard. A number forums were reporting that newer TVs could not cope with the badly designed Saturn SCART cables and suggesting convoluted workarounds using SCART switcher boxes, but, in fact it was a bent pin in the video connector.
Slowly applying pressure via a small screw driver restored the pin and it lives once again.
Sadly my favourite Saturn game Burning Rangers never survived the loan of the Saturn, but I can still have some retro gaming with the kids.
19 Jan 2013 10:01
ISPY Raspberry Pi

Got 512MB Raspberry Pi model b) for Christmas.

I don't have a HDMI ready TV and it is not practical to try and hook up the RCA connector.
So my Raspberry y Pi is headless, no visual output (except the status LEDs).
The Raspberry Pi is up and running according to the status LEDs so how can I find which IP address it has been assigned ?
NMap to the rescue, it will check each IP address in a specific range and locate open ports, the Raspberry Pi Wheezy distribution has shh on by default.
nmap -n 192.168.0.0/24

Starting Nmap 6.01 ( http://nmap.org ) at 2013-01-02 21:45 GMT
Nmap scan report for 192.168.0.14
Host is up (0.0071s latency).
Not shown: 999 closed ports
PORT     STATE SERVICE
62078/tcp open iphone-sync

Nmap scan report for 192.168.0.15
Host is up (0.000069s latency).
Not shown: 999 closed ports
PORT STATE SERVICE
22/tcp open ssh

Nmap scan report for 192.168.0.20
Host is up (0.028s latency).
All 1000 scanned ports on 192.168.0.20 are closed

Nmap scan report for 192.168.0.37
Host is up (0.0030s latency).
Not shown: 999 closed ports
PORT     STATE SERVICE
62078/tcp open iphone-sync

Nmap scan report for 192.168.0.38
Host is up (0.0043s latency).
Not shown: 999 closed ports
PORT STATE SERVICE
22/tcp open ssh

Nmap scan report for 192.168.0.200
Host is up (0.017s latency).
Not shown: 998 closed ports
PORT     STATE SERVICE
80/tcp open http
5431/tcp open park-agent

Nmap done: 256 IP addresses (6 hosts up) scanned in 45.38 seconds


-n for 'no name resolution' and the /24 is the bit mask to search from 0-255, that only affects the last number(octet).

In those results;
15 is the machine I am using
200 is the router
20 is the Wii
14 and 37 are IPhone/IPad devices (not mine) so that leaves
38 for the PI

nmap -n -O 192.168.0.38

Starting Nmap 6.01 ( http://nmap.org ) at 2013-01-02 22:05 GMT
Nmap scan report for 192.168.0.38
Host is up (0.00048s latency).
Not shown: 999 closed ports
PORT STATE SERVICE
22/tcp open ssh
MAC Address: B8:27:EB:BF:80:62 (Raspberry Pi Foundation)
No exact OS matches for host (If you know what OS is running on it, see http://nmap.org/submit/ ).
TCP/IP fingerprint:
OS:SCAN(V=6.01%E=4%D=1/2%OT=22%CT=1%CU=35114%PV=Y%DS=1%DC=D%G=Y%M=B827EB%TM
OS:=50E4AF3B%P=x86_64-pc-linux-gnu)SEQ(SP=103%GCD=1%ISR=105%TI=Z%CI=Z%II=I%
OS:TS=7)OPS(O1=M5B4ST11NW3%O2=M5B4ST11NW3%O3=M5B4NNT11NW3%O4=M5B4ST11NW3%O5
OS:=M5B4ST11NW3%O6=M5B4ST11)WIN(W1=3890%W2=3890%W3=3890%W4=3890%W5=3890%W6=
OS:3890)ECN(R=Y%DF=Y%T=41%W=3908%O=M5B4NNSNW3%CC=Y%Q=)T1(R=Y%DF=Y%T=41%S=O%
OS:A=S+%F=AS%RD=0%Q=)T2(R=N)T3(R=N)T4(R=Y%DF=Y%T=41%W=0%S=A%A=Z%F=R%O=%RD=0
OS:%Q=)T5(R=Y%DF=Y%T=41%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)T6(R=Y%DF=Y%T=41%W=0%S
OS:=A%A=Z%F=R%O=%RD=0%Q=)T7(R=Y%DF=Y%T=41%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)U1(R
OS:=Y%DF=N%T=41%IPL=164%UN=0%RIPL=G%RID=G%RIPCK=G%RUCK=G%RUD=G)IE(R=Y%DFI=N
OS:%T=41%CD=S)

Network Distance: 1 hop

OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 12.53 seconds


-O is OS detection

Note that NMap is using the MAC address of the ethernet port to identify the Raspberry Pi
then its just

ssh pi@192.168.0.38

say yes and enter the default password "raspberry"

Although its unlikely, your DHCP server(the thing giving out the IP addresses) might give the Raspberry Pi a different address next time it is booted, in which case just repeat the above to find the new address.

next time ... PANIC! (in a good way)
loading results, please wait loading animateloading animateloading animate
[More tags]
rss feed

email

root

flog archives


Disclaimer:
This page is by me for me, if you are not me then please be aware of the following
I am not responsible for anything that works or does not work including files and pages made available at www.jumpstation.co.uk I am also not responsible for any information(or what you or others do with it) available at www.jumpstation.co.uk
In fact I'm not responsible for anything ever, so there!

[Pay4Foss banner long]