Just bought a Raspberry pi

The Homebrew Forum

Help Support The Homebrew Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
BrotherMalice said:
I typed this:

>apt-get install git

will give it a try without the arrow in a bit and then with sudo if without the arrow still fails :) - not used to all this typing lark any more....

definitely no arrow :nono:
That is used there to indicate the command prompt :thumb:
 
Last edited by a moderator:
BrotherMalice said:
OK, turns out helps if you log in as root....

New to all this ;)

Having issues getting dillo or midori connecting to the internet though :?:

It's not generally wise to log in as root :nah:

That is the point of the "sudo" part that I posted above - you log in a user=pi then when you need to do something that requires root access, you simply prefix the command with sudo and it will be executed as if root had executed it.
 
K, didnt know that. Thanks.

Got another issue now :-(

My pi is telling me it has an ip address and after logging in i can ping my router but when i go into tthe gui i cant ping my router in the console. Any idea what i am doing wrong?
 
BrotherMalice said:
My pi is telling me it has an ip address and after logging in i can ping my router but when i go into tthe gui i cant ping my router in the console. Any idea what i am doing wrong?

Can you try sudo in front of your ping command and see what happens.
Also do
sudo ifconfig
and post response :thumb:
 
I dont have a RPi but have set up XBMC onto my Linux pc and can recomend it also added Navi-x which is easy and quick!
 
I think part of my problem may be power related, I will try powering it from my powered USB hub instead of my phone charger to see if that helps. XBMC is a nice bit of software, I installed it on my PC while I was off ill earlier in the week so I could watch some vids but therre was no sound coming through on .mkv files (but that is for another thread...)
 
eskimobob said:
BrotherMalice said:
My pi is telling me it has an ip address and after logging in i can ping my router but when i go into tthe gui i cant ping my router in the console. Any idea what i am doing wrong?

Can you try sudo in front of your ping command and see what happens.
Also do
sudo ifconfig
and post response :thumb:

right, ifconfig (run after logging in as pi and not root)

Code:
eth0
Link encap:Ethernet  HWaddr b8:27:eb:8c:d0:ae
inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:312 errors:0 dropped:0 overruns:0 frame:0
TX packets:209 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25001 (24.1 KiB)  TX bytes:21197 (20.7 KiB)
Code:
lo
Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:5 errors:0 dropped:0  overruns:0 frame:0
TX packets:5 errors:0 dropped:0  overruns:0 carrrier:0
collisions:0 txqueuelen:0
RX bytes:458 (458.0 B)  TX bytes:458 (458.0 B)
 
try
sudo ifdown eth0
sudo ifup eth0

This is similar to ipconfig /release and /renew on windows.
 

Latest posts

Back
Top