ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Nikolay A. Fetisov" <naf@naf.net.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] eagle-usb
Date: Sun, 27 Mar 2005 13:09:50 +0400
Message-ID: <20050327130950.20a68400@naf177.naf.net.ru> (raw)
In-Reply-To: <42462284.4050307@stl.ru>

[-- Attachment #1: Type: text/plain, Size: 2105 bytes --]

On Sun, 27 Mar 2005 07:03:32 +0400
"Igor V. Krutyakov" <lighter@stl.ru> wrote:

> Доброго!
> 
> А вот кто бы опакетил eagle-usb? Это драйвера для USB ADSL модемов на 
> чипах Analog Devices (Eagle USB).
> ... 
> Я бы и сам занялся, только не хватает пока опыта и времени :(

Аналогично. Плюс до 2.1.0 он тащил за собой кучу дополнительных утилит,
которые в ALT'е и не нужны. Пока компилируется руками. О пакете
периодически подумываю, но пока не решился.

Если будет полезно: для компиляции требует пакеты kernel-headers-common,
kernel-headers-modules-XXX, kernel-headers-XXX. 
Исходники ядра не нужны. Для создания документации - docbook-style-xsl и
docbook-style-dsssl

Далее разворачивается архив с исходниками. Проверяется, на какую версию
ядра указывает ссылка /etc/sysconfig/kernel . Если при make выпадает
куча ошибок, то прежде всего проверяется именно эта ссылка.

Запускается 
$ ./configure --prefix=/usr/local
--with-kernel-src=/usr/src/linux-2.6.X-XXX-XXX
$ make 

Собирать утилиты из utils смысла нет.

Далее собранный модуль устанавливается, например, в
~/tmp/eagle-buildroot:
$ mkdir ~/tmp/eagle-buildroot
$ make install DESTDIR=~/tmp/eagle-buildroot

# chown -R root:root ~user/tmp/eagle-buildroot/
И полученное копируется в систему.
Для работы требует пакет rp-pppoe-client (сервис adsl)

Для настройки самого драйвера:
$ cat /etc/modutils.d/eagle
alias net-pf-24 pppoe
post-install eagle_usb /usr/sbin/eaglectrl -d


Скрипт для hotplug (из /etc/hotplug/usb ) приложен, так как в последних
tar.gz я его не вижу.

Ну и прикрепил также /etc/eagle-usb/eagle-usb.conf для Stream и
упомянутого MT-810. Остальные настройки для соединения делались
вызовом adsl-setup из rp-pppoe-client .

Модемы работают без особых проблем где-то уже полгода, на двух
машинах, ядра std26-up и std26-smp. Поднимаются при загрузке системы,
или при втыкании устройства в USB. Для того, чтобы /etc/init.d/adsl
находил модем, пришлось увеличить его уровень загрузки до
# chkconfig: 2345 80 68
А то по-умолчанию он запускается до hotplug. 
Вроде бы всё, больше ничего не делалось.

--
С уважением, 
Николай Фетисов



[-- Attachment #2: eagle-usb --]
[-- Type: application/octet-stream, Size: 2958 bytes --]

[-- Attachment #3: eagle-usb.conf --]
[-- Type: application/octet-stream, Size: 1528 bytes --]

      reply	other threads:[~2005-03-27  9:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-27  3:03 Igor V. Krutyakov
2005-03-27  9:09 ` Nikolay A. Fetisov [this message]

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=20050327130950.20a68400@naf177.naf.net.ru \
    --to=naf@naf.net.ru \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git