kiker99
15.02.07, 19:55
Hallo,
Distribution: Arch Linux
Kernel: 2.6.16
Rechner: Notebook Asus F3jm
Netzwerkkarte: 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
mit Modul r1000 im Betrieb
Mein Problem:
Als root funktioniert alles wunderbar. Als User funktioniert nur solange alles wunderbar, solange ich die IP direkt eingebe. Mit Domainnamen funktioniert nur ping und nslookup. Surfen im Browser funktioniert auch, Probleme gibt es aber z.B. bei SSH sowie Subversion.
nameserver 192.168.2.1
search WorkGroup
Kann daran eigentlich nicht liegen, wird automatisch generiert und ist außerdem identisch mit der auf einem anderen Rechner im LAN, auf dem alles funktioniert. 192.168.2.1 ist mein lokaler Router.
Eth0 wird über DHCP konfiguriert.
$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:17:31:DE:08:14
inet addr:192.168.2.12 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::217:31ff:fede:814/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:128979 errors:0 dropped:0 overruns:0 frame:0
TX packets:72991 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:173130888 (165.1 Mb) TX bytes:6166480 (5.8 Mb)
Interrupt:16 Base address:0xc800
hosts: files dns
networks: files dns
$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost hermes hermes.localdomain
192.168.2.39 asklepios.localdomain asklepios
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
Da mir keine anderen Dateien mehr einfallen, die einen Einfluss auf das Problem machen könnte, hier noch ein Testszenario:
$ cat ./lookup.pl
#!/usr/bin/perl -w
$host = $ARGV[0] || die "usage: $0 hostname";
my ($name, $aliases, $addrtype, $length, @addrs) =
gethostbyname($host);
$a='';
$a=gethostbyname($host);
if (!defined($a)) {
print "Error\n";
}
foreach $i (@addrs) {
my ($a, $b, $c, $d) = unpack('C4', $i);
print "$a.$b.$c.$d\n";
}
[root@hermes andre]# ./lookup.pl google.de
66.249.93.104
216.239.59.104
72.14.221.104
[andre@hermes ~]$ ./lookup.pl google.de
Error
Danke schonmal an alle, die sich Gedanken machen. Ich hoffe, jemand hat eine Idee.
Gruß,
kiker99
Distribution: Arch Linux
Kernel: 2.6.16
Rechner: Notebook Asus F3jm
Netzwerkkarte: 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
mit Modul r1000 im Betrieb
Mein Problem:
Als root funktioniert alles wunderbar. Als User funktioniert nur solange alles wunderbar, solange ich die IP direkt eingebe. Mit Domainnamen funktioniert nur ping und nslookup. Surfen im Browser funktioniert auch, Probleme gibt es aber z.B. bei SSH sowie Subversion.
nameserver 192.168.2.1
search WorkGroup
Kann daran eigentlich nicht liegen, wird automatisch generiert und ist außerdem identisch mit der auf einem anderen Rechner im LAN, auf dem alles funktioniert. 192.168.2.1 ist mein lokaler Router.
Eth0 wird über DHCP konfiguriert.
$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:17:31:DE:08:14
inet addr:192.168.2.12 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::217:31ff:fede:814/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:128979 errors:0 dropped:0 overruns:0 frame:0
TX packets:72991 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:173130888 (165.1 Mb) TX bytes:6166480 (5.8 Mb)
Interrupt:16 Base address:0xc800
hosts: files dns
networks: files dns
$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost hermes hermes.localdomain
192.168.2.39 asklepios.localdomain asklepios
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
Da mir keine anderen Dateien mehr einfallen, die einen Einfluss auf das Problem machen könnte, hier noch ein Testszenario:
$ cat ./lookup.pl
#!/usr/bin/perl -w
$host = $ARGV[0] || die "usage: $0 hostname";
my ($name, $aliases, $addrtype, $length, @addrs) =
gethostbyname($host);
$a='';
$a=gethostbyname($host);
if (!defined($a)) {
print "Error\n";
}
foreach $i (@addrs) {
my ($a, $b, $c, $d) = unpack('C4', $i);
print "$a.$b.$c.$d\n";
}
[root@hermes andre]# ./lookup.pl google.de
66.249.93.104
216.239.59.104
72.14.221.104
[andre@hermes ~]$ ./lookup.pl google.de
Error
Danke schonmal an alle, die sich Gedanken machen. Ich hoffe, jemand hat eine Idee.
Gruß,
kiker99