From: "Владимир Головин" <tarnoga@gmail.com>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] ADSL в ALD4.1
Date: Thu, 13 Nov 2008 00:05:16 +0300
Message-ID: <bd6761710811121305u47e8ca28w91ec9bc31a0ffc1f@mail.gmail.com> (raw)
In-Reply-To: <491B37D8.9030904@rambler.ru>
12 ноября 2008 г. 23:08 пользователь Kharitonov A. Dmitry
<kharpost@rambler.ru> написал:
>
>> + for pick in '$GOOD_MODULE_LIST'
>> + '[' 8139too = 8139too ']'
>> + return 0
>> + check_eth_link eth0
>> + local TARGET=eth0
>> + local LMAX=5
>> + '[' 5 -ge 0 -a 5 -le 300 ']'
>> + '[' -x /usr/sbin/ifplugstatus ']'
>> + local i=0 result
>> + true
>> + /usr/sbin/ifplugstatus -q eth0
>> + result=2
>> + '[' 2 = 2 ']'
>> + return 0
>> + print_progress
>> + is_yes ''
>> + case "$1" in
>> + return 1
>> + return 0
>> ++ dhcp_cmdline
>> ++ local H T
>> ++ case `basename $DHCP_CLIENT` in
>> +++ basename /sbin/dhcpcd
>> ++ '[' -n localhost ']'
>> ++ case "$DHCP_HOSTNAME" in
>> ++ '[' -n localhost.localdomain -a localhost.localdomain '!='
>> localhost -a localhost.localdomain '!=' localhost.localdomain ']'
>> ++ T='-t 30'
>> ++ echo ' -d -t 30 eth0'
>> + DHCP_CMDLINE=' -d -t 30 eth0'
>> + /sbin/dhcpcd -d -t 30 eth0
>> Error, eth0: netlink: No such process
>>
>
> # echo '#!/bin/bash' | cat - /etc/net/scripts/config-ipv4 > /tmp/1
> # cat /tmp/1 > /etc/ne/scripts/config-ipv4
> # ifdown eth0
> # ifup eth0
> # hostname
> # /sbin/dhcpcd -d -t 30 eth0
> # cat /var/lib/dhcpcd/dhcpcd-eth0.info
[root@localhost scripts]# echo '#!/bin/bash' | cat -
/etc/net/scripts/config-ipv4 > /tmp/1
[root@localhost scripts]# cat /tmp/1 > /etc/net/scripts/config-ipv4
[root@localhost scripts]# ifdown eth0
[root@localhost scripts]# ifup eth0
Error, eth0: netlink: No such process
[root@localhost scripts]# hostname
localhost.localdomain
[root@localhost scripts]# /sbin/dhcpcd -d -t 30 eth0
Error, eth0: dhcpcd already running (/var/run/dhcpcd-eth0.pid)
[root@localhost scripts]# cat /var/lib/dhcpcd/dhcpcd-eth0.info
IPADDR='92.101.166.100'
NETMASK='255.255.255.0'
BROADCAST='92.101.166.255'
ROUTES='0.0.0.0,0.0.0.0,78.36.160.1'
DNSSERVERS='78.36.171.200 212.48.193.36'
DHCPSID='192.168.1.1'
DHCPSNAME=''
LEASETIME='30'
RENEWALTIME='15'
REBINDTIME='26'
INTERFACE='eth0'
CLASSID='dhcpcd 3.0.17'
CLIENTID='00:14:d1:31:73:54'
DHCPCHADDR='00:14:d1:31:73:54'
[root@localhost scripts]# ping 192.168.1.1
connect: Network is unreachable
--
Владимир Головин
tarnoga@gmail.com
next prev parent reply other threads:[~2008-11-12 21:05 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-08 14:55 ` Kharitonov A. Dmitry
2008-11-08 14:57 ` Kharitonov A. Dmitry
2008-11-08 16:14 ` Kharitonov A. Dmitry
2008-11-08 17:20 ` Kharitonov A. Dmitry
2008-11-08 18:36 ` Владимир Головин
2008-11-08 19:15 ` Kharitonov A. Dmitry
2008-11-08 20:04 ` Владимир Головин
2008-11-08 20:23 ` Kharitonov A. Dmitry
2008-11-10 9:42 ` Владимир Головин
2008-11-11 15:28 ` Владимир Головин
2008-11-11 16:51 ` Andrii Dobrovol`s`kii
2008-11-11 18:04 ` Kharitonov A. Dmitry
2008-11-11 20:34 ` Владимир Головин
2008-11-11 22:52 ` Kharitonov A. Dmitry
2008-11-12 10:16 ` Владимир Головин
2008-11-12 14:26 ` Kharitonov A. Dmitry
2008-11-12 16:26 ` Владимир Головин
2008-11-12 20:08 ` Kharitonov A. Dmitry
2008-11-12 21:05 ` Владимир Головин [this message]
2008-11-13 3:35 ` Kharitonov A. Dmitry
2008-11-13 10:42 ` Владимир Головин
2008-11-13 12:16 ` Kharitonov A. Dmitry
2008-11-13 20:35 ` Kharitonov A. Dmitry
2008-11-13 21:54 ` Владимир Головин
2008-11-14 15:05 ` Kharitonov A. Dmitry
2008-11-15 12:53 ` Владимир Головин
2008-11-16 14:16 ` Kharitonov A. Dmitry
2008-11-08 16:21 ` Andriy Dobrovol`s`kii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bd6761710811121305u47e8ca28w91ec9bc31a0ffc1f@mail.gmail.com \
--to=tarnoga@gmail.com \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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