Problem in the network

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Problem in the network

Postby juangentile » Wed Jan 23, 2013 19:55

Hi, I'm new to the forum and sabayon, I'm trying to set up a server, and I have a problem with the network, the pc that has sabayon I can throw you ping from another PC, but I can not enter either the apache and ssh.

Excuse my English, I'm using the translator, if anyone can help would greatly appreciate it.
juangentile
Baby Hen
 
Posts: 3
Joined: Wed Jan 23, 2013 19:45

Re: Problem in the network

Postby manifesto » Wed Jan 23, 2013 21:30

You should be a bit more precise describing you pb.
You can ping from outside but neither access apache nor ssh.
Probably this services are not installed/running.
Log in from console and check out :
Code: Select all
sabayon ~ # rc-config list  | egrep 'apa|ssh'
  apache2                   
  sshd                      default

* It will show you if apache/ssh are started
You can check if they are installed :
Code: Select all
sabayon ~ equo search net-misc/openssh www-servers/apache-2
>>  @@ Searching...
>>      @@ Package: net-misc/openssh-6.1_p1 branch: 5, [sabayonlinux.org]
>>         Available:     version: 6.1_p1 ~ tag: NoTag ~ revision: 0
>>         Installed:     version: 6.1_p1 ~ tag: NoTag ~ revision: 0
>>         Slot:          0
>>         Homepage:      http://www.openssh.org/
>>         Description:   Port of OpenBSD's free SSH release
>>         License:       BSD
>>      @@ Package: www-servers/apache-2.2.23 branch: 5, [sabayonlinux.org]
>>         Available:     version: 2.2.23 ~ tag: NoTag ~ revision: 1
>>         Installed:     version: 2.2.23 ~ tag: NoTag ~ revision: 1
>>         Slot:          2
>>         Homepage:      http://httpd.apache.org/
>>         Description:   The Apache Web Server.
>>         License:       Apache-1.1 Apache-2.0
>>      @@ Package: www-servers/apache-2.2.23#worker branch: 5, [sabayonlinux.org]
>>         Available:     version: 2.2.23 ~ tag: worker ~ revision: 0
>>         Installed:     version: 2.2.23 ~ tag: NoTag ~ revision: 1
>>         Slot:          2
>>         Homepage:      http://httpd.apache.org/
>>         Description:   The Apache Web Server.
>>         License:       Apache-1.1 Apache-2.0

If they are not install them and run then (change boot startup as well see rc-config).
System commands are same than gentoo (apart package manager entropy) you can check gentoo doc for sysadm.

If you dont have access to phys server it is too bad you can use telnet or nmap to check open ports.
manifesto
Growing Hen
 
Posts: 169
Joined: Mon Jul 19, 2010 22:21

Re: Problem in the network

Postby juangentile » Thu Jan 24, 2013 0:52

thank you very much for your response, I still can not solve the problem, the problem is that pulling ping the server from another pc responds, but when I go to the browser by putting the ip of server response and the same goes for ssh, on the other hand using elinks from putting the ip server works, it may be that the server is configured with DHCP instead of static IP, I have little knowledge on ubuntu gentoo just so I'll have to keep reading.
juangentile
Baby Hen
 
Posts: 3
Joined: Wed Jan 23, 2013 19:45

Re: Problem in the network

Postby Thev00d00 » Sat Jan 26, 2013 10:30

Its probably because the firewall is enabled by default. Try disabling ufw.
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
Thev00d00
Generally Awesome (tm)
 
Posts: 1472
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: Problem in the network

Postby inktvis75 » Mon Mar 18, 2013 16:32

Thev00d00 is right, ufw is blocking port by default.
Try https://wiki.sabayon.org/index.php?titl ... g_with_UFW
inktvis75
Baby Hen
 
Posts: 11
Joined: Sun Mar 10, 2013 18:46


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 1 guest