Go to advanced search

by Trigo
Fri Feb 03, 2017 10:55 pm
Forum: Beginners
Topic: Configuring the webserver
Replies: 18
Views: 3538

Configuring the webserver

Good ight to all of you! I'm setting up a website and i would like to make it run over the cable! i can only access it over wireless! i would like to shutdown the wireless interface and access it over lan! Can someone give me a guide?
by Trigo
Fri Feb 03, 2017 10:01 pm
Forum: Beginners
Topic: SSH on fresh raspian install
Replies: 16
Views: 3826

Re: SSH on fresh raspian install

any help?
by Trigo
Fri Feb 03, 2017 7:22 pm
Forum: Beginners
Topic: SSH on fresh raspian install
Replies: 16
Views: 3826

Re: SSH on fresh raspian install

i'm getting no kex alg when typing ssh pi@192.168.1.8! Any sugestions?
by Trigo
Sun Jan 29, 2017 10:04 pm
Forum: Beginners
Topic: SSH on fresh raspian install
Replies: 16
Views: 3826

Re: SSH on fresh raspian install

Try it again with the "-f" option. That'll fix this problem. That is: $ cd ~pi/.ssh $ rm -f known_hosts root@raspberrypi:/# cd ~pi/.ssh bash: cd: /home/pi/.ssh: No such file or directory root@raspberrypi:/# cd pi/ssh bash: cd: pi/ssh: No such file or directory root@raspberrypi:/# exit exit pi@raspb...
by Trigo
Sun Jan 29, 2017 10:02 pm
Forum: Beginners
Topic: SSH on fresh raspian install
Replies: 16
Views: 3826

Re: SSH on fresh raspian install

Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. Todos os direitos reservados. C:\Users\User>ssh pi@192.168.1.8 pi@192.168.1.8's password: The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in th...
by Trigo
Sun Jan 29, 2017 9:51 pm
Forum: Beginners
Topic: SSH on fresh raspian install
Replies: 16
Views: 3826

Re: SSH on fresh raspian install

DougieLawson wrote: rm ~/.ssh/known_hosts
NO SUDO needed.
It tells rm: cannot remove '/home/pi/.ssh/known_hosts': no such file or directory
by Trigo
Sun Jan 29, 2017 6:15 pm
Forum: Beginners
Topic: SSH on fresh raspian install
Replies: 16
Views: 3826

Re: SSH on fresh raspian install

Since it's a machine on your LAN and you can, probably, trust it then rm /home/User/.ssh/known_hosts is the fastest way to fix it. There are ways to prevent ssh storing that stuff for local machines, there are ways to selectively remove the line in a known_hosts file. But my "just delete it" approa...
by Trigo
Sun Jan 29, 2017 5:22 pm
Forum: Beginners
Topic: SSH on fresh raspian install
Replies: 16
Views: 3826

Re: SSH on fresh raspian install

I am able to connect only to 192.168.1.8 C:\Users\User>ssh pi@192.168.1.7 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!...
by Trigo
Sun Jan 29, 2017 3:52 pm
Forum: Beginners
Topic: SSH on fresh raspian install
Replies: 16
Views: 3826

Re: SSH on fresh raspian install

Hi. Default user is "pi" Default password is "raspberry" https://www.raspberrypi.org/documentation/linux/usage/users.md Thanks... How can i change it? how can i add known_hosts to ssh! The raspian has two interfaces: lan and wlan! I would like to use the lan to accessing it! I've accessed it from a...
by Trigo
Sun Jan 29, 2017 3:25 pm
Forum: Beginners
Topic: SSH on fresh raspian install
Replies: 16
Views: 3826

SSH on fresh raspian install

I'm trying to connect to raspbery using ssh on cmd but i'm not able to acess it! I've not establish a password but when i connect to the raspian it asks me one! What am i missing here?
by Trigo
Sun Jan 29, 2017 10:43 am
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

DougieLawson wrote:QED. No wonder nothing works. You're using a version of Raspbian that's end-of-life and only supported for security updates.

The time to upgrade to Jessie is NOW!
Then can you recommend a better one! One that can have wordpress!
by Trigo
Sat Jan 28, 2017 9:32 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

Are you running Raspbian? Or some other OS/distro? root@presspi:/etc/init.d# uname -a Linux presspi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux root@presspi:/etc/init.d# cat /etc/*-release PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)" NAME="Raspbian GNU/Linux" VERSION_ID="7" VER...
by Trigo
Sat Jan 28, 2017 9:12 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

That's right - leave /etc/hosts alone. sudo apt-get install avahi-daemon avahi-utils sudo systemctl enable avahi-daemon sudo systemctl start avahi-daemon It's installed but when i run sudo systemctl enable avahi-daemon it says systemctl command not found!! :cry: After consulting the man page i'm ge...
by Trigo
Sat Jan 28, 2017 7:03 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

i was viewing the etc/host file and i get something like this! GNU nano 2.2.6 File: etc/hosts 127.0.0.1 localhost 127.0.1.1 presspi # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff...
by Trigo
Sat Jan 28, 2017 6:59 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

DougieLawson wrote:How about sudo ping -c3 presspi.local?
returns unknown host!
by Trigo
Sat Jan 28, 2017 6:54 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

SurferTim wrote:Maybe the RPi can resolve the domain. Try this.

Code: Select all

nslookup
server 192.168.1.7
presspi
root@presspi:/# nslookup server 192.168.1.7 presspi
;; connection timed out; no servers could be reached

root@presspi:/#
by Trigo
Sat Jan 28, 2017 6:51 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

That's not going to work either. Try nslookup presspi.local nslookup presspi.lan nslookup 192.168.1.7 root@presspi:/# nslookup presspi.local Server: 192.168.1.1 Address: 192.168.1.1#53 ** server can't find presspi.local: NXDOMAIN root@presspi:/# nslookup presspi.lan Server: 192.168.1.1 Address: 192...
by Trigo
Sat Jan 28, 2017 6:37 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

i've edited the resolv.conf file
search presspi
nameserver 192.168.1.1

when i do a nslookup on presspi it says server can't find presspi: NXDOMAIN!

:oops:
by Trigo
Sat Jan 28, 2017 6:15 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

What do you have in /etc/resolv.conf? Because unless you have a "search somethinghere" domain defined in there you nslookup will go to the Internet's root DNS servers and enquire whether they know a domain called presspi. That is 100% guaranteed to get a NXDOMAIN response. If /etc/resolv.conf has s...
by Trigo
Sat Jan 28, 2017 6:08 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

What do you have in /etc/resolv.conf? Because unless you have a "search somethinghere" domain defined in there you nslookup will go to the Internet's root DNS servers and enquire whether they know a domain called presspi. That is 100% guaranteed to get a NXDOMAIN response. If /etc/resolv.conf has s...
by Trigo
Sat Jan 28, 2017 5:58 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

Now match the MAC addresses from one scan to the other. Fing will even try to tell you what make of adapter it's found from a MAC address. It can also scan services on any address. I've try to open presspi on the fing! It tells hostname lookup for "presspi" failed! I've got 5 services on raspian po...
by Trigo
Sat Jan 28, 2017 5:51 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

On the nsllokup side shouldn't have the ip address of the pi and on the other side the name?
by Trigo
Sat Jan 28, 2017 5:39 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

What IP address do your phone show? Install Fing on Android and scan your network. https://play.google.com/store/apps/details?id=com.overlook.android.fing Install nmap on your Raspberry and scan your network sudo apt-get install nmap sudo nmap -v -sn 192.168.1.0/24 On the android side i've got five...
by Trigo
Sat Jan 28, 2017 5:27 pm
Forum: Networking and servers
Topic: PiWebserver isn't available from other computers
Replies: 65
Views: 9282

Re: PiWebserver isn't available from other computers

Have you installed the dns utilities? nslookup may help troubleshoot this. sudo apt-get install dnsutils Then: nslookup presspi I've just installed dnsutils on the pi! The output for nslookup presspi was root@presspi:/# nslookup presspi Server: 192.168.1.1 Address: 192.168.1.1#53 ** server can't fi...

Go to advanced search