make
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o pppoe.o pppoe.c
In file included from pppoe.h:56,
from pppoe.c:19:
/usr/include/linux/if.h:177: ошибка: поле ‘ifru_map’ имеет неполный тип
make: *** [pppoe.o] Ошибка 1
emerge -pf rp-pppoe выдаст файлы, которые нужно скачать (для каждого - по несколько вариантов ссылок, через пробел). Их нужно поместить в каталог с дистфайлами, в gentoo это /usr/portage/distfiles, в сабайоне - не помню, введите emerge --info | grep DISTDIR, он скажет. После этого emerge rp-pppoe установит его без интернета.
Под рутом pppoe-setup запускали? Установку по дефолту делали?
emerge ничего не даст, пока вы не синхронизировали дерево портежей (emerge --sync), ибо в sabayon'е "искаропки" пакетами управляет entropy и spritz.
Попробуйте для начала настроить сеть с liveDVD, там 100% rp-pppoe стоит, и скачать необходимый ebuild и дистфайлы.
На лайвСД тоже нету, видимо это потому что я скачал LiteMCE версию, может кто нить сделает emerge -pf rp-pppoe и мне в личку выложит ссылки на файл? возможно ли так?
emerge rp-pppoe
Calculating dependencies... done!
!!! All ebuilds that could satisfy "net-dialup/rp-pppoe" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-dialup/rp-pppoe-3.10-r1 (masked by: corruption)
Зашел в .unmask там прописал net-dialup/rp-pppoe, не помгло, потом погуглил по masked by: corruption вроде говорят в таких случаях ebuild кривой.. можно ли где еще ebuild скачать?))
У меня похожая хрень, тока дистрибутив 3.5.1
тока pppoe-setup отработал как надо, pppoe-start говорит мол все пучком, коннект есть, pppoe-status говорит что айпишник есть, но пинги во внешнюю сетку(дальше модема) не проходят.
По умолчанию не было файла resolv.conf, добавил - результат тот же.
Интересно, что смотрел статистику из под винды у своего провайдера - было множество попыток подключения с трафиком вх/исх 0Мв
Как будто DNS-servera не видит
У меня похожая хрень, тока дистрибутив 3.5.1
тока pppoe-setup отработал как надо, pppoe-start говорит мол все пучком, коннект есть, pppoe-status говорит что айпишник есть, но пинги во внешнюю сетку(дальше модема) не проходят.
По умолчанию не было файла resolv.conf, добавил - результат тот же.
Интересно, что смотрел статистику из под винды у своего провайдера - было множество попыток подключения с трафиком вх/исх 0Мв
Как будто DNS-servera не видит
Не, я всё понимаю, у вас sabayon, а не gentoo... Но он же на gentoo основан! Так что если не хватает графических сабайоновских средств, читайте джентушный хендбук!!! Там всё написано, и про настройку сети тоже.
>>> Installing net-dialup/rp-pppoe-3.10-r1
* This package will overwrite one or more files that may belong to other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies at
* least two or more packages that are known to install the same file(s).
* If a collision occurs and you can not explain where the file came from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at http://bugs.gentoo.org unless you report exactly which
* two packages install the same file(s). Once again, please do NOT file
* a bug report unless you have completely understood the above message.
*
* package net-dialup/rp-pppoe-3.10-r1 NOT merged
*
* Detected file collision(s):
*
* /usr/share/tkpppoe
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* None of the installed packages claim the file(s).
*
* Package 'net-dialup/rp-pppoe-3.10-r1' NOT merged due to file
* collisions. If necessary, refer to your elog messages for the whole
* content of the above message.
>>> Failed to install net-dialup/rp-pppoe-3.10-r1, Log file:
>>> '/var/lib/entropy/logs/net-dialup:rp-pppoe-3.10-r1:20090209-072756.log'
* Regenerating GNU info directory index...
* Processed 182 info files.
/var/lib/entropy/logs/net-dialup:rp-pppoe-3.10-r1:20090209-072756.log
>>> Unpacking source...
>>> Unpacking ppp-2.4.4.tar.gz to /var/tmp/portage/net-dialup/rp-pppoe-3.10-r1/work
>>> Unpacking rp-pppoe-3.10.tar.gz to /var/tmp/portage/net-dialup/rp-pppoe-3.10-r1/work
[32;01m*[0m Applying rp-pppoe-3.10-gentoo-netscripts.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying rp-pppoe-3.10-username-charset.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying rp-pppoe-3.10-plugin-options.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying rp-pppoe-3.10-autotools.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying rp-pppoe-3.10-session-offset.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying rp-pppoe-3.10-linux-headers.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running eautoreconf in '/var/tmp/portage/net-dialup/rp-pppoe-3.10-r1/work/rp-pppoe-3.10/src' ...
[32;01m*[0m Running aclocal ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running autoconf ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running autoheader ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-dialup/rp-pppoe-3.10-r1/work/rp-pppoe-3.10 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-plugin=../../ppp-2.4.4 --build=i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking net/if_arp.h usability... yes
checking net/if_arp.h presence... yes
checking for net/if_arp.h... yes
checking netinet/if_ether.h usability... yes
checking netinet/if_ether.h presence... yes
checking for netinet/if_ether.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for fcntl.h... (cached) yes
checking net/bpf.h usability... no
checking net/bpf.h presence... no
checking for net/bpf.h... no
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking linux/if_packet.h usability... yes
checking linux/if_packet.h presence... yes
checking for linux/if_packet.h... yes
checking linux/if_ether.h usability... yes
checking linux/if_ether.h presence... yes
checking for linux/if_ether.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking net/if_ether.h usability... no
checking net/if_ether.h presence... no
checking for net/if_ether.h... no
checking net/if_types.h usability... no
checking net/if_types.h presence... no
checking for net/if_types.h... no
checking for netinet/if_ether.h... (cached) yes
checking for net/if_types.h... (cached) no
checking for net/if_dl.h... (cached) no
checking for linux/if.h... yes
checking for linux/if_pppox.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct sockaddr_ll... yes
checking for N_HDLC line discipline... no
checking for working memcmp... yes
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for strtol... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 4
checking for pppd... /usr/sbin/pppd
checking for echo... /bin/echo
checking for setsid... /usr/bin/setsid
checking for id... /usr/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... yes
checking packing order of bit fields... reversed
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating libevent/Makefile
config.status: creating ../scripts/pppoe-connect
config.status: creating ../scripts/pppoe-start
config.status: creating ../scripts/pppoe-stop
config.status: creating ../scripts/pppoe-init
config.status: creating ../scripts/pppoe-init-suse
config.status: creating ../scripts/pppoe-init-turbolinux
config.status: creating ../scripts/pppoe-setup
config.status: creating ../gui/Makefile
config.status: WARNING: '../gui/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating ../gui/tkpppoe
config.status: creating config.h
On this platform, the following targets will be built:
pppoe pppoe-server pppoe-sniff pppoe-relay rp-pppoe.so
Type 'make' to compile the software.
make -j2 -s
Type 'make install' as root to install the software.
make: Entering directory `/var/tmp/portage/net-dialup/rp-pppoe-3.10-r1/work/rp-pppoe-3.10/gui'
i686-pc-linux-gnu-gcc -Os -march=i686 -pipe -Wall -Wstrict-prototypes '-DPPPOE_START_PATH="/usr/sbin/pppoe-start"' '-DPPPOE_STOP_PATH="/usr/sbin/pppoe-stop"' '-DPPPOE_STATUS_PATH="/usr/sbin/pppoe-status"' -c -o wrapper.o wrapper.c
i686-pc-linux-gnu-gcc -o pppoe-wrapper wrapper.o
Type 'make install' as root to install the software.
make: Leaving directory `/var/tmp/portage/net-dialup/rp-pppoe-3.10-r1/work/rp-pppoe-3.10/gui'
>>> Source compiled.
>>> Test phase [not enabled]: net-dialup/rp-pppoe-3.10-r1
>>> Install rp-pppoe-3.10-r1 into /var/tmp/portage/net-dialup/rp-pppoe-3.10-r1/image/ category net-dialup
make -j2 -s DESTDIR=/var/tmp/portage/net-dialup/rp-pppoe-3.10-r1/image/ docdir=/usr/share/doc/rp-pppoe-3.10-r1 install
Type 'make install' as root to install the software.
Type 'pppoe-setup' to configure the software.
make -j2 -s -C /var/tmp/portage/net-dialup/rp-pppoe-3.10-r1/work/rp-pppoe-3.10/gui DESTDIR=/var/tmp/portage/net-dialup/rp-pppoe-3.10-r1/image/ datadir=/usr/share/doc/rp-pppoe-3.10-r1/ install
Type 'make install' as root to install the software.
>>> Completed installing rp-pppoe-3.10-r1 into /var/tmp/portage/net-dialup/rp-pppoe-3.10-r1/image/
strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
usr/sbin/pppoe
usr/sbin/pppoe-wrapper
usr/sbin/pppoe-relay
usr/sbin/pppoe-sniff
usr/sbin/pppoe-server
ecompressdir: bzip2 -9 /usr/share/doc
ecompressdir: bzip2 -9 /usr/share/man
Погуглил, нечего не нашел, что делать нужно? удалить конфликтующие пакеты?
что бы заработал интернет и как сделать что бы при включении компа default сетевухой была eth0 а не eth1(вариант выдернуться eth1 как крайний)
PS: есть ли какой мануалчик на русском описывающий команды штатного entropy/equo, ну там команда для обновления системы, установки пакета и т.д...?
оказывается пакет tkpppoe и есть собственно очень удобная оболочка АКА rp-pppoe
После добавления необходимых учетных записей для доступа в инет, в каталоге /etc/ppp/rp-pppoe-gue создаются все необходимые конфиги
отсюда лично я делаю вывод - не надо изобретать велосипед, достаточно изучить все возможность нового дистрибутива.
Прошу прощения у всех за глупые вопросы ранее.