|
|
| Author |
Message |
| P.addy |
This post is not being displayed .
|
 P.addy Formerly known as P.
Joined: 14 Feb 2008 Karma :  
|
 Posted: 21:33 - 25 Dec 2012 Post subject: Raspberry Pi people...help |
 |
|
Got my pi today
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  |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| bladerunner |
This post is not being displayed .
|
 bladerunner World Chat Champion
Joined: 09 Sep 2006 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| P.addy |
This post is not being displayed .
|
 P.addy Formerly known as P.
Joined: 14 Feb 2008 Karma :  
|
 Posted: 22:26 - 25 Dec 2012 Post subject: |
 |
|
I have
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.  |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| el_oso |
This post is not being displayed .
|
 el_oso World Chat Champion

Joined: 17 May 2008 Karma :  
|
 Posted: 22:52 - 25 Dec 2012 Post subject: |
 |
|
not sure of the default notepad application of Pi debian. So not 100% sure if this will work
open terminal
login as root
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 |
|
You must be logged in to rate posts |
|
 |
| P.addy |
This post is not being displayed .
|
 P.addy Formerly known as P.
Joined: 14 Feb 2008 Karma :  
|
 Posted: 22:57 - 25 Dec 2012 Post subject: |
 |
|
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  |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| P.addy |
This post is not being displayed .
|
 P.addy Formerly known as P.
Joined: 14 Feb 2008 Karma :  
|
 Posted: 23:18 - 25 Dec 2012 Post subject: |
 |
|
OK, settings set, I can ping my PC but not my router...nor can I browse  |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| chrisw |
This post is not being displayed .
|
 chrisw World Chat Champion

Joined: 24 Apr 2006 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| P.addy |
This post is not being displayed .
|
 P.addy Formerly known as P.
Joined: 14 Feb 2008 Karma :  
|
 Posted: 01:24 - 26 Dec 2012 Post subject: |
 |
|
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.
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 |
|
You must be logged in to rate posts |
|
 |
| Rogerborg |
This post is not being displayed .
|
 Rogerborg nimbA

Joined: 26 Oct 2010 Karma :    
|
 Posted: 12:04 - 26 Dec 2012 Post subject: |
 |
|
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 |
|
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? |
 |
|
|