* [Comm] проблемы с использованием loopback интерфейса
@ 2003-12-20 16:18 Dan
2003-12-22 11:55 ` Genix
0 siblings, 1 reply; 2+ messages in thread
From: Dan @ 2003-12-20 16:18 UTC (permalink / raw)
To: community
Здравствуйте!
На рабочей станции (Mandrake 2001
RE) при попытке сделать
links http://127.0.0.1
простым пользователем,links говорит,что сервер не найден. Если делать
то же самое пользователем root - все работает.
Апач настроен и работает.
loopback включается алиасом root'a
> alias lpb='ifconfig lo 127.0.0.1; route add -host 127.0.0.1 lo'
/etc/sysconfig/network-scripts/ifcfg-lo
> DEVICE=lo
> IPADDR=127.0.0.1
> NETMASK=255.0.0.0
> NETWORK=127.0.0.0
> # If you're having problems with gated making 127.0.0.0/8 a martian,
> # you can change this to something else (255.255.255.255, for example)
> BROADCAST=127.255.255.255
> ONBOOT=yes
> NAME=loopback
дамп ifconfig
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:3924 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
netstat --inet -pan
>
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
> tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 588/httpd
> tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 416/xinetd
> tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 416/xinetd
> tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 416/xinetd
> tcp 0 0 0.0.0.0:2628 0.0.0.0:* LISTEN 399/0
> raw 0 0 0.0.0.0:1 0.0.0.0:* 7 -
> raw 0 0 0.0.0.0:6 0.0.0.0:* 7 -
/etc/resolv.conf
>
> search net
> nameserver ХХХ.ХХХ.ХХХ.ХХ
> nameserver ХХХ.ХХХ.ХХХ.ХХ
> #nameserver 127.0.0.1
/etc/hosts
> 192.168.1.1 main.mynet.net main
> 127.0.0.1 localhost.localdomain localhost
Что посоветуете?
-
Best regards,
Dan mailto:dan88@bashnet.ru
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-22 11:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-20 16:18 [Comm] проблемы с использованием loopback интерфейса Dan
2003-12-22 11:55 ` Genix
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git