Resend my activation email : Register : Log in 
BCF: Bike Chat Forums


Raspberry Pi people...help

Reply to topic
Bike Chat Forums Index -> The Geek Zone
View previous topic : View next topic  
Author Message

P.addy
Formerly known as
P.



Joined: 14 Feb 2008
Karma :

PostPosted: 21:33 - 25 Dec 2012    Post subject: Raspberry Pi people...help Reply with quote

Got my pi today Very Happy

I do not have a HDMI capable monitor, so I've plugged into TV, booted to debian and all is well.

I now want to RDP to it, I need to plug directly into my superhub, but before I bring it into this room I need to set the IP address to something static.

How does one go about that... do I need to do it in terminal Thumbs Up
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

bladerunner
World Chat Champion



Joined: 09 Sep 2006
Karma :

PostPosted: 21:57 - 25 Dec 2012    Post subject: Reply with quote

Have a look on the pi forum. Probs get a better informed reply if it's not already been asked before!
____________________
Current bikes...cbr929, KDX200's, Rd125lc mk2, RGV250's
 Back to top
View user's profile Send private message Visit poster's website You must be logged in to rate posts

P.addy
Formerly known as
P.



Joined: 14 Feb 2008
Karma :

PostPosted: 22:26 - 25 Dec 2012    Post subject: Reply with quote

I have Laughing

They just jabber on about using another program, currently.. it has no net connection so I can't apt get anything to allow me to do this. Laughing
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

el_oso
World Chat Champion



Joined: 17 May 2008
Karma :

PostPosted: 22:52 - 25 Dec 2012    Post subject: Reply with quote

not sure of the default notepad application of Pi debian. So not 100% sure if this will work

open terminal

login as root
Code:

su -i


open text editor program, usually something like nano or gedit
Code:

*insert name of text editor here i.e. nano or gedit* /etc/network/interfaces


should then open up a new window with some config options

Code:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inte loopback

#The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.101
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

here you can change 'address' to static ip of your choosing
____________________
Duke 390
Previous: '05 XR125L | '96 XJ600S Diversion |'05 Suzuki GSXR1000 | '05 Honda CBR125-R | '97 YZF 600R Thundercat | '11 Honda CBR250
Car: Jeep Wrangler 4.0L
 Back to top
View user's profile Send private message You must be logged in to rate posts

P.addy
Formerly known as
P.



Joined: 14 Feb 2008
Karma :

PostPosted: 22:57 - 25 Dec 2012    Post subject: Reply with quote

My Pi refuses to acknowledge that the interfaces folder exists.

I can ls -lh and see the folder listed there... but I can't cd etc/network/interfaces, it just tells me it doesn't exist Brick Wall
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

P.addy
Formerly known as
P.



Joined: 14 Feb 2008
Karma :

PostPosted: 23:18 - 25 Dec 2012    Post subject: Reply with quote

OK, settings set, I can ping my PC but not my router...nor can I browse Laughing
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

chrisw
World Chat Champion



Joined: 24 Apr 2006
Karma :

PostPosted: 23:27 - 25 Dec 2012    Post subject: Reply with quote

##Paddy## wrote:
My Pi refuses to acknowledge that the interfaces folder exists.

I can ls -lh and see the folder listed there... but I can't cd etc/network/interfaces, it just tells me it doesn't exist Brick Wall


That's because it's a file not a folder Laughing
 Back to top
View user's profile Send private message Visit poster's website You must be logged in to rate posts

P.addy
Formerly known as
P.



Joined: 14 Feb 2008
Karma :

PostPosted: 01:24 - 26 Dec 2012    Post subject: Reply with quote

I know..perhaps it was the nap I took before having a look at the pi that caused me to post that, but yeah.. it wouldn't let me use nano on it. Laughing

Either way, just fresh installed, perfectly fine to access that file, changed stuff, set DNS in the other conf and voila. Net access.

Now its sitting on my network as an FTP/Web server. boom town.
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

Rogerborg
nimbA



Joined: 26 Oct 2010
Karma :

PostPosted: 12:04 - 26 Dec 2012    Post subject: Reply with quote

Quick note that if you're running off of a SD card then you'll want to be sure that it's not doing unnecessary writes. If you're using Raspbian then the root mount should already be noatime, and /var/log, /var/tmp and /tmp (and possibly others) can be mounted as ram drives, unless you've got a passion for keeping logs.

cat /etc/fstab

proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
here on, use dphys-swapfile swap[on|off] for that
tmpfs /var/log tmpfs nodev,nosuid,size=20M 0 0
tmpfs /var/tmp tmpfs nodev,nosuid,size=20M 0 0
tmpfs /tmp tmpfs nodev,nosuid,size=20M 0 0
____________________
Biking is 1/20th as dangerous as horse riding.
GONE: HN125-8, LF-250B, GPz 305, GPZ 500S, Burgman 400 // RIDING: F650GS (800 twin), Royal Enfield Bullet Electra 500 AVL, Ninja 250R because racebike
 Back to top
View user's profile Send private message You must be logged in to rate posts
Old Thread Alert!

The last post was made 13 years, 72 days ago. Instead of replying here, would creating a new thread be more useful?
  Display posts from previous:   
This page may contain affiliate links, which means we may earn a small commission if a visitor clicks through and makes a purchase. By clicking on an affiliate link, you accept that third-party cookies will be set.

Post new topic   Reply to topic    Bike Chat Forums Index -> The Geek Zone All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Read the Terms of Use! - Powered by phpBB © phpBB Group
 

Debug Mode: ON - Server: birks (www) - Page Generation Time: 0.07 Sec - Server Load: 0.34 - MySQL Queries: 13 - Page Size: 60.83 Kb