Вопросики по свежеуcтановленной системе

При входе, через kdm
обычным пользователем, не находит домашний каталог, обычного пользователя
под рутом заходит нормально, но ведь это моветон, работать под рутом
куда рыть?

дома сеть настроена со статическим айпишником
прямое подключение, все нормально -инет есть, яндех пингуеться, пакман работает нормально

на работе инет через прокси-сервер
собственно инет есть, яндех не ингуеться (прокся пингуеться),а вот пакман работать не хочет
в чем трабла -уже все пересмотрел.
Ай нид ХЕЛП!

bash-3.2# pacman -S gimp
....
Приступить к установке? [Y/n] y
:: Получение пакетов с extra...
--2009-02-16 17:55:54--  ftp://ftp.belnet.be/mirror/archlinux.org/extra/os/i686/gsfonts-8.11-4.pkg.tar.gz
           => `/var/cache/pacman/pkg/gsfonts-8.11-4.pkg.tar.gz.part'
Распознаётся stef... сбой: Временный сбой в разрешении имен.
wget: невозможно распознать адрес `stef'
телепаты в бессрочном отпуске привожу
содержимое файлов ответственных за проксю
/etc/wgetrc
#quota = inf
# You can lower (or raise) the default number of retries when
# downloading a file (default is 20).
#tries = 20
# Lowering the maximum depth of the recursive retrieval is handy to
# prevent newbies from going too "deep" when they unwittingly start
# the recursive retrieval.  The default is 5.
#reclevel = 5
# By default Wget uses "passive FTP" transfer where the client
# initiates the data connection to the server rather than the other
# way around.  That is required on systems behind NAT where the client
# computer cannot be easily reached from the Internet.  However, some
# firewalls software explicitly supports active FTP and in fact has
# problems supporting passive transfer.  If you are in such
# environment, use "passive_ftp = off" to revert to active FTP.
#passive_ftp = off
# The "wait" command below makes Wget wait between every connection.
# If, instead, you want Wget to wait only between retries of failed
# downloads, set waitretry to maximum number of seconds to wait (Wget
# will use "linear backoff", waiting 1 second after the first failure
# on a file, 2 seconds after the second failure, etc. up to this max).
waitretry = 10
##
## Local settings (for a user to set in his $HOME/.wgetrc).  It is
## *highly* undesirable to put these settings in the global file, since
## they are potentially dangerous to "normal" users.
##
## Even when setting up your own ~/.wgetrc, you should know what you
## are doing before doing so.
##
# Set this to on to use timestamping by default:
#timestamping = off
# It is a good idea to make Wget send your email address in a `From:'
# header with your request (so that server administrators can contact
# you in case of errors).  Wget does *not* send `From:' by default.
#header = From: Your Name <[email protected]>;
# You can set up other headers, like Accept-Language.  Accept-Language
# is *not* sent by default.
#header = Accept-Language: en
# You can set the default proxies for Wget to use for http and ftp.
# They will override the value in the environment.
# Дома строки закоментированы!
http_proxy = stef:[email protected]://192.168.0.1:3128/
ftp_proxy = stef:[email protected]://192.168.0.1:3128/
# If you do not want to use proxy at all, set this to off.
#эта тоже!
use_proxy = on
# You can customize the retrieval outlook.  Valid options are default,
# binary, mega and micro.
#dot_style = default
# Setting this to off makes Wget not download /robots.txt.  Be sure to
# know *exactly* what /robots.txt is and how it is used before changing
# the default!
#robots = on
# It can be useful to make Wget wait between connections.  Set this to
# the number of seconds you want Wget to wait.
#wait = 0
# You can force creating directory structure, even if a single is being
# retrieved, by setting this to on.
#dirstruct = off
# You can turn on recursive retrieving by default (don't do this if
# you are not sure you know what it means) by setting this to on.
#recursive = off
# To always back up file X as X.orig before converting its links (due
# to -k / --convert-links / convert_links = on having been specified),
# set this variable to on:
#backup_converted = off
# To have Wget follow FTP links from HTML files by default, set this
# to on:
#follow_ftp = off
#дома закоментировано! на работе раскоментирую
/etc/profile.d/proxy.sh
#export http_proxy="stef:[email protected]:3128"
#export ftp_proxy="stef:[email protected]:3128"
/etc/pacman.conf
# /etc/pacman.conf
#
# See the pacman manpage for option directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
RootDir     = /
DBPath      = /var/lib/pacman/
CacheDir    = /var/cache/pacman/pkg/
LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
# дома верхний, закомент. вариант
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
XferCommand = /usr/bin/wget --proxy-user "stef" --proxy-passwd="stef" --passive-ftp -c -O %o %u
#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# Testing is disabled by default.  To enable, uncomment the following
# two lines.  You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
# Unstable is disabled by default.  To enable, uncomment the following
# two lines.  You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[unstable]
#Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
на всякий пожарный, содержимое главного конфигурационного файла
/etc/rc.conf и resolv
# /etc/rc.conf - Main Configuration for Arch Linux
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="ru_RU.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Kiev"
KEYMAP="ru-mab"
#CONSOLEFONT="UniCyr_8x16.psf.gz"
CONSOLEFONT="ter-u16b"
CONSOLEMAP=ruwin_ct_sh-UTF-8.map.gz
#CONSOLEMAP=koi8r.uni
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(forcedeth ath5k ath_hal ath_pci wlan snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#eth0="eth0 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255"
eth0="eth0 192.168.0.9 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
#gateway="default gw 192.168.1.1"
gateway="default gw 192.168.0.1"
ROUTES=(gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng hal fam kde network netfs crond alsa cpudyn)

/etc/resolv.conf
#search <yourdomain.tld>
# дома раскоментировано, все работает
#nameserver 195.5.46.12
#nameserver 192.168.1.1
# End of file
haiku
на работе инет через прокси-сервер
собственно инет есть, яндех не ингуеться (прокся пингуеться),а вот пакман работать не хочет
в чем трабла -уже все пересмотрел.
Ай нид ХЕЛП!

выводов netstat -rn, ifconfig не хватает.
попробуй пакман запустить предварительно сделав export http_proxy=http://……
systemd должен умереть.
h4tr3d
haiku
на работе инет через прокси-сервер
собственно инет есть, яндех не ингуеться (прокся пингуеться),а вот пакман работать не хочет
в чем трабла -уже все пересмотрел.
Ай нид ХЕЛП!

выводов netstat -rn, ifconfig не хватает.
попробуй пакман запустить предварительно сделав export http_proxy=http://……
простите, можно чуточку подробней?
насчет экспорта?

так ведь они в proxy.sh они прописаны?

итак
ifconfig
bash-3.2# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:17:31:FB:62:2C
          inet addr:192.168.0.9  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:79155 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7641884 (7.2 Mb)  TX bytes:3015 (2.9 Kb)
          Interrupt:21 Base address:0x6000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:25 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1445 (1.4 Kb)  TX bytes:1445 (1.4 Kb)
netstat -rn
bash-3.2# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0 eth0

Маленькое уточнение (почитал вики, вот http://wiki.archlinux.org/index.php/How_to_make_wget_to_work_with_proxy_and_proxy_authentification)
export http_proxy="http://?имя домена, обязательно указывать?\\stef:[email protected]:3128“
export ftp_proxy=”http://?имя домена, обязательно указывать?\\stef:[email protected]:3128"
уж больно админа беспокоить нихоцца :P
Всем ОГРОМНОЕ спасибо!
инет есть, пакман работает, пинги не идут /может сетевой бох запретил пинговать/

Если кому надо будет, из неофитов настроить так - чтобы работал пакмен, через проксю
краткое руководство

надо прописывать в файликах /etc/profile.d/proxy.sh /незнаю правда, обязательно-ли? :-\
добавить /править по указанному образцу/сдедующие строки
export http_proxy="http://<user>:<passwd>@<ip*.*.*.* proxy-server>:port“
export ftp_proxy=”http://<user>:<passwd>@<ip*.*.*.* proxy-server>:port“

раскоментировать строки начинающиеся с
http_proxy=…
ftp_proxy=…
use_proxy = on
и привести их к виду
http_proxy=”http://<user>:<passwd>@<ip*.*.*.* proxy-server>:port“
ftp_proxy=”http://<user>:<passwd>@<ip*.*.*.* proxy-server>:port“

/etc/pacman.conf
снять коментарий со строки
XferCommand = /usr/bin/wget –passive-ftp -c -O %o %u
и привести ее к виду
XferCommand = /usr/bin/wget –proxy-user ”ваш пользователь“ –proxy-passwd=”ваш пароль" –passive-ftp -c -O %o %u

все должно заработать!
 
Зарегистрироваться или войдите чтобы оставить сообщение.