* [gentoo-user-de] kein emerge sync möglich
@ 2008-10-23 8:37 Sebastian
2008-10-23 9:05 ` André Glücksmann
2008-10-23 10:52 ` Uwe
0 siblings, 2 replies; 7+ messages in thread
From: Sebastian @ 2008-10-23 8:37 UTC (permalink / raw
To: Gentoo
Hallo,
ich versuche gerade mein Gentoo System64bit wieder fit zu machen. Es lag jetzt
lange brach da kein 64 bit System für chroot zur Verfügung stand. Da habe ich
aber gerade das Problem kein emerge sync machen zu können.
Ich vermute das ich keine Verbindung zum Internet habe.
(chroot) r2-debian / # ping www.google.de
ping: unknown host www.google.de
(chroot) r2-debian / # ifconfig
eth1 Link encap:Ethernet HWaddr 00:11:09:32:3d:e7
inet addr:192.168.2.102 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::211:9ff:fe32:3de7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2691 errors:0 dropped:0 overruns:0 frame:0
TX packets:2201 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2585975 (2.4 MiB) TX bytes:305455 (298.2 KiB)
Interrupt:201 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:150 errors:0 dropped:0 overruns:0 frame:0
TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12884 (12.5 KiB) TX bytes:12884 (12.5 KiB)
Von der Konsole bekomme ich auch keine Verbindung (Nativ gestartet)
Da mir ifconfig aber eine adresse anzeigt weiß ich nicht wo ich jetzt suchen
soll.
Gruß
Sebastian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user-de] kein emerge sync möglich
2008-10-23 8:37 Sebastian
@ 2008-10-23 9:05 ` André Glücksmann
2008-10-23 9:32 ` Sebastian
2008-10-23 10:52 ` Uwe
1 sibling, 1 reply; 7+ messages in thread
From: André Glücksmann @ 2008-10-23 9:05 UTC (permalink / raw
To: gentoo-user-de
[-- Attachment #1: Type: text/plain, Size: 1859 bytes --]
Sebastian wrote:
> Hallo,
> ich versuche gerade mein Gentoo System64bit wieder fit zu machen. Es lag jetzt
> lange brach da kein 64 bit System für chroot zur Verfügung stand. Da habe ich
> aber gerade das Problem kein emerge sync machen zu können.
> Ich vermute das ich keine Verbindung zum Internet habe.
>
> (chroot) r2-debian / # ping www.google.de
> ping: unknown host www.google.de
>
> (chroot) r2-debian / # ifconfig
>
> eth1 Link encap:Ethernet HWaddr 00:11:09:32:3d:e7
> inet addr:192.168.2.102 Bcast:192.168.2.255 Mask:255.255.255.0
> inet6 addr: fe80::211:9ff:fe32:3de7/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:2691 errors:0 dropped:0 overruns:0 frame:0
> TX packets:2201 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:2585975 (2.4 MiB) TX bytes:305455 (298.2 KiB)
> Interrupt:201 Base address:0x6000
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:150 errors:0 dropped:0 overruns:0 frame:0
> TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:12884 (12.5 KiB) TX bytes:12884 (12.5 KiB)
>
> Von der Konsole bekomme ich auch keine Verbindung (Nativ gestartet)
> Da mir ifconfig aber eine adresse anzeigt weiß ich nicht wo ich jetzt suchen
> soll.
>
> Gruß
> Sebastian
>
Moinsen,
sind default-gateway und nameserver richtig eingestellt?
Also mal route eingeben bzw. in /etc/resolv.conf kucken.
Gruß
André Glücksmann
--
André Glücksmann
email@smixx.de - GnuPG Key-ID: 0x1489FF7D
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user-de] kein emerge sync möglich
2008-10-23 10:52 ` Uwe
@ 2008-10-23 9:20 ` Sebastian
0 siblings, 0 replies; 7+ messages in thread
From: Sebastian @ 2008-10-23 9:20 UTC (permalink / raw
To: gentoo-user-de
Hallo,
> Oh hai
>
> route add default gw <routerip> eth1
wofür steht <routerip>
>
> vim /etc/conf.d/net
> dns_server=( "192.168.2.1" )
>
> Beziehst du deine IP per DHCP?
Ja
Beim restarten von dhcp erhalte ich eine Fehlermeldung wegen einer falschen hw
adresse. Wo kommt die denn her, bzw wie korrigiere ich das?
(chroot) r2-debian linux # dhcpcd restart
err, restart: ioctl SIOCGIFHWADDR: No such device
Gruß
Sebastian
> > (chroot) r2-debian / # ifconfig
> >
> > eth1 Link encap:Ethernet HWaddr 00:11:09:32:3d:e7
> > inet addr:192.168.2.102 Bcast:192.168.2.255
> > Mask:255.255.255.0 inet6 addr: fe80::211:9ff:fe32:3de7/64 Scope:Link
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:2691 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:2201 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:2585975 (2.4 MiB) TX bytes:305455 (298.2 KiB)
> > Interrupt:201 Base address:0x6000
> >
> > lo Link encap:Local Loopback
> > inet addr:127.0.0.1 Mask:255.0.0.0
> > inet6 addr: ::1/128 Scope:Host
> > UP LOOPBACK RUNNING MTU:16436 Metric:1
> > RX packets:150 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:0
> > RX bytes:12884 (12.5 KiB) TX bytes:12884 (12.5 KiB)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user-de] kein emerge sync möglich
2008-10-23 9:05 ` André Glücksmann
@ 2008-10-23 9:32 ` Sebastian
2008-10-23 10:26 ` Christian Franke
0 siblings, 1 reply; 7+ messages in thread
From: Sebastian @ 2008-10-23 9:32 UTC (permalink / raw
To: gentoo-user-de
> Moinsen,
>
> sind default-gateway und nameserver richtig eingestellt?
> Also mal route eingeben bzw. in /etc/resolv.conf kucken.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth1
(chroot) r2-debian linux #
/etc/resolv.conf
# Generated by net-scripts for interface lo
domain ARCHITEKTUR
die Architektur habe ich jetzt mal #
Gruß
Sebastian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user-de] kein emerge sync möglich
2008-10-23 9:32 ` Sebastian
@ 2008-10-23 10:26 ` Christian Franke
0 siblings, 0 replies; 7+ messages in thread
From: Christian Franke @ 2008-10-23 10:26 UTC (permalink / raw
To: gentoo-user-de
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/23/2008 11:32 AM, Sebastian wrote:
>> sind default-gateway und nameserver richtig eingestellt?
>> Also mal route eingeben bzw. in /etc/resolv.conf kucken.
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth1
Die Tabelle sollte so stimmen, wenn 192.168.2.1 dein Router ist.
> /etc/resolv.conf
> # Generated by net-scripts for interface lo
> domain ARCHITEKTUR
hier fehlt ein nameserver Eintrag.
Versuch mal:
"nameserver 192.168.2.1" oder
"nameserver 208.67.222.222" einzufügen
Wenn es dann geht liegt es tatsächlich daran dass der Nameserver nicht
über DHCP "ausgeliefert" oder aber vom DHCP-Client nicht richtig gesetzt
wird, im Zweifelsfall mal den Abschnitt in /etc/conf.d/net zeigen.
Mit freundlichen Grüßen,
Christian Franke
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkAUUMACgkQkMF7UBEyHrPTeACbBbZhgM5MbATufDezoxmx8cPV
Kd0An2BIMzgtMVTk399BaBtgZRFQqeo9
=8PjG
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user-de] kein emerge sync möglich
@ 2008-10-23 10:48 Andreas Klein
0 siblings, 0 replies; 7+ messages in thread
From: Andreas Klein @ 2008-10-23 10:48 UTC (permalink / raw
To: gentoo-user-de
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
Hi Sebastian,
Ausserdem würde ich auch mal prüfen ob dein hostname richtig gesetzt ist, und ob dieser sich auch korrekt in der etc/host.conf wiederfindet.
Prüfen durch # hostname
Setzen durch # hostname=<dein-hostname>, der schreibt sich dann wohl in die /etc/hostname
Kannst du intern einen anderen PC dessen ip adressse du kennst anpingen?
Und extern indem du die Adresse einer Website angibst, statt deren Namen.?
Wenn das klappt liegt's wohl nur an der fehelenden Namensauflösung, die eben auch nicht funktioniert wenn dein hostname nicht eingetragen ist.
Viel Erfolg,
Andy.
"Run, Fatboy, Run" sowie "Rails & Ties" kostenlos anschauen!
Blockbuster-Gutscheine sichern unter *http://www.blockbuster.web.de* [http://www.blockbuster.web.de]
[-- Attachment #2: Type: text/html, Size: 1341 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user-de] kein emerge sync möglich
2008-10-23 8:37 Sebastian
2008-10-23 9:05 ` André Glücksmann
@ 2008-10-23 10:52 ` Uwe
2008-10-23 9:20 ` Sebastian
1 sibling, 1 reply; 7+ messages in thread
From: Uwe @ 2008-10-23 10:52 UTC (permalink / raw
To: gentoo-user-de
Oh hai
route add default gw <routerip> eth1
vim /etc/conf.d/net
dns_server=( "192.168.2.1" )
Beziehst du deine IP per DHCP?
Ansonsten kannst du alles auch direkt in /etc/conf.d/net festlegen per
config_eth1=( "ip/24 brd netzwerkbroadcast" )
routes_eth1=( "default via routerip" )
HTH
Uwe
On Thu, 23 Oct 2008 10:37:23 +0200
Sebastian <selist@arcor.de> wrote:
> Hallo,
> ich versuche gerade mein Gentoo System64bit wieder fit zu machen. Es
> lag jetzt lange brach da kein 64 bit System für chroot zur Verfügung
> stand. Da habe ich aber gerade das Problem kein emerge sync machen zu
> können. Ich vermute das ich keine Verbindung zum Internet habe.
>
> (chroot) r2-debian / # ping www.google.de
> ping: unknown host www.google.de
>
> (chroot) r2-debian / # ifconfig
>
> eth1 Link encap:Ethernet HWaddr 00:11:09:32:3d:e7
> inet addr:192.168.2.102 Bcast:192.168.2.255
> Mask:255.255.255.0 inet6 addr: fe80::211:9ff:fe32:3de7/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:2691 errors:0 dropped:0 overruns:0 frame:0
> TX packets:2201 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:2585975 (2.4 MiB) TX bytes:305455 (298.2 KiB)
> Interrupt:201 Base address:0x6000
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:150 errors:0 dropped:0 overruns:0 frame:0
> TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:12884 (12.5 KiB) TX bytes:12884 (12.5 KiB)
>
> Von der Konsole bekomme ich auch keine Verbindung (Nativ gestartet)
> Da mir ifconfig aber eine adresse anzeigt weiß ich nicht wo ich jetzt
> suchen soll.
>
> Gruß
> Sebastian
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-10-23 10:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-23 10:48 [gentoo-user-de] kein emerge sync möglich Andreas Klein
-- strict thread matches above, loose matches on Subject: below --
2008-10-23 8:37 Sebastian
2008-10-23 9:05 ` André Glücksmann
2008-10-23 9:32 ` Sebastian
2008-10-23 10:26 ` Christian Franke
2008-10-23 10:52 ` Uwe
2008-10-23 9:20 ` Sebastian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox