LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-16-2010, 06:40 PM   #1
Virtual Circuit
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
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"
 
Old 02-16-2010, 08:05 PM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Address x.x.x.1 is usually the server address.
Have you tried remote logging in by ssh or remote desktop?
 
Old 02-17-2010, 09:11 PM   #3
Virtual Circuit
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
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.
 
Old 02-17-2010, 09:31 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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.
 
Old 02-18-2010, 03:28 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to localhost? kwikness Linux - Networking 15 05-22-2006 11:48 AM
ksysguard cannot connect to localhost gavinbeatty Linux - Software 4 07-22-2005 09:31 AM
Cannot connect to anything on localhost JohnKFT Slackware 17 05-11-2005 02:21 AM
can't connect to localhost acidblue Fedora 0 12-05-2004 07:20 PM
Can't connect to localhost Brendon Linux - Networking 11 07-30-2002 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration