LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   I can't connect to anything other than localhost (https://www.linuxquestions.org/questions/debian-26/i-cant-connect-to-anything-other-than-localhost-789576/)

Virtual Circuit 02-16-2010 06:40 PM

I can't connect to anything other than localhost
 
I couldn't install everything during setup of my debian server, so I installed post setup through the Add/Remove Programs. My guess is there is so much installed that either DHCP is not setup properly or there is a firewall installed. My computer found an IP address from my router but cannot connect to the DNS service or ping my router.

I type: ping 192.168.1.1
computer resp: "ping: sendmsg: Operation not permitted"

Mr-Bisquit 02-16-2010 08:05 PM

Address x.x.x.1 is usually the server address.
Have you tried remote logging in by ssh or remote desktop?

Virtual Circuit 02-17-2010 09:11 PM

I am unable to browse the internet. I installed alot of software including a DHCP server and several firewalls. My goal was to install everything so I could play around with all the software on debain. The DHCP server was not suppose to start at startup. If it did start I understand I have a problem. How do I correct this. Can I get a list of all the services running on my machine and disable the network services causing the problem.

evo2 02-17-2010 09:31 PM

To stop the dhcp server on your box

Code:

/etc/init.d/dhcp3-server stop
or
Code:

invoke-rc.d dhcp3-server stop
To disable it from automatically starting again you can run "rcconf" which is curses gui, and deselect dhcp3-server from the list. If you dont have rcconf you can do:
Code:

mv /etc/rc2.d/S05dhcp3-server /etc/rc2.d/K05dhcp3-server
However I don't think that running a dhcp daemon on this box is what is causing your problems.

To fix the problem, we need to understand it, which means you need to provide more information.

Does the router work with other machines?

What are the output of..
Code:

ifconfig
route
cat /etc/resolv.conf
traceroute 75.126.162.205

Evo2.

repo 02-18-2010 03:28 AM

Quote:

computer resp: "ping: sendmsg: Operation not permitted"
Disable the firewall
Code:

iptables -F

Quote:

Address x.x.x.1 is usually the server address.
x.x.x.1 is usually the gateway (router)


All times are GMT -5. The time now is 11:55 AM.