PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > network trouble: dhcp works, resolv.conf correct, ping doesn't work
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

network trouble: dhcp works, resolv.conf correct, ping doesn't work

Réponse
 
LinkBack Outils de la discussion
Vieux 20/08/2007, 15h30   #1
Owen Heisler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut network trouble: dhcp works, resolv.conf correct, ping doesn't work

I'm having trouble with the internet connection on a Lenny/Sid system.
It is a very simple connection to a cable modem via an ethernet
cable.

/etc/network/interfaces includes the lo interface and "iface eth0 inet dhcp".

"ifup eth0" seems to work: the dhcp server (cable modem) gives the
correct IP address.

For some reason, at this point, iptables (I don't use a firewall)
starts spitting out a bunch of junk... (if you want to see it say). I
run "iptables -F" to stop that (removes some "log" stuff), but it only
works until a reboot.

/etc/resolv.conf is correct.

"ping google.com" returns "unknown host".

It all works when I boot the GRML LiveCD.

Thanks for your .


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 20/08/2007, 16h10   #2
Owen Heisler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: network trouble: dhcp works, resolv.conf correct, ping doesn't work

On 8/20/07, Owen Heisler <owenh000@gmail.com> wrote:
> I'm having trouble with the internet connection on a Lenny/Sid system.
> It is a very simple connection to a cable modem via an ethernet
> cable.


> "ping google.com" returns "unknown host".


Here's a bit more:
Pinging a nameserver returns "ping: sendmsg: Operation not permitted"
And the last line of output from "ifup eth0" is "send_packet:
Operation not permitted"


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 20/08/2007, 20h40   #3
Joachim Fahnenmüller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: network trouble: dhcp works, resolv.conf correct, ping doesn't work

On Mon, Aug 20, 2007 at 09:26:11AM -0500, Owen Heisler wrote:
> I'm having trouble with the internet connection on a Lenny/Sid system.
> It is a very simple connection to a cable modem via an ethernet
> cable.
>
> /etc/network/interfaces includes the lo interface and "iface eth0 inet dhcp".
>
> "ifup eth0" seems to work: the dhcp server (cable modem) gives the
> correct IP address.
>
> For some reason, at this point, iptables (I don't use a firewall)
> starts spitting out a bunch of junk... (if you want to see it say). I
> run "iptables -F" to stop that (removes some "log" stuff), but it only
> works until a reboot.


What does "iptables -L" give (*before* you do "iptables -F")?
Is there anything in /etc/init.d with a name like iptables or firewall, ...?
>
> /etc/resolv.conf is correct.
>
> "ping google.com" returns "unknown host".
>
> It all works when I boot the GRML LiveCD.
>
> Thanks for your .
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Regards
--
Joachim Fahnenmüller


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 23/08/2007, 16h20   #4
Owen Heisler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: network trouble: dhcp works, resolv.conf correct, ping doesn't work

(Sorry about the delay!)

On Mon, 2007.08.20 21:37, Joachim Fahnenmüller wrote:
> On Mon, Aug 20, 2007 at 09:26:11AM -0500, Owen Heisler wrote:
> > I'm having trouble with the internet connection on a Lenny/Sid system.
> > It is a very simple connection to a cable modem via an ethernet
> > cable.
> >
> > /etc/network/interfaces includes the lo interface and "iface eth0 inet dhcp".
> >
> > "ifup eth0" seems to work: the dhcp server (cable modem) gives the
> > correct IP address.
> >
> > For some reason, at this point, iptables (I don't use a firewall)
> > starts spitting out a bunch of junk... (if you want to see it say). I
> > run "iptables -F" to stop that (removes some "log" stuff), but it only
> > works until a reboot.

>
> What does "iptables -L" give (*before* you do "iptables -F")?
> Is there anything in /etc/init.d with a name like iptables or firewall, ...?


Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
LOG all -- loopback/8 anywhere LOG level warning
DROP all -- loopback/8 anywhere
LOG all -- anywhere anywhere LOG level warning
DROP all -- anywhere anywhere

Chain FORWARD (policy DROP)
target prot opt source destination
LOG all -- anywhere anywhere LOG level warning
DROP all -- anywhere anywhere

Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level warning
DROP all -- anywhere anywhere


I tried 'iptables -F' before bringing up the connection, without success
pinging.
After flushing all the chains, should they still say "policy DROP", although
with no rules?

> > /etc/resolv.conf is correct.
> >
> > "ping google.com" returns "unknown host".
> >
> > It all works when I boot the GRML LiveCD.


I have been setting up another system and used aptitude's package list on it,
and encountered the same problem, so it is a package (from Lenny probably),not
something I have done manually.

Thanks!
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h12.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09790 seconds with 12 queries