ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Igor Muratov <migor@linux.ru.net>
To: Sisyphus List <sisyphus@altlinux.ru>
Subject: [sisyphus] UML net
Date: Sat, 09 Jun 2001 17:43:33 +0400
Message-ID: <3B222805.10406@linux.ru.net> (raw)

Hi All

Как я уже говорил сеть в UML работает только при хост-ядре 2.2.х Я 
поковырял драйвер
и по моему не работает демон um_eth_net_util А конкретно вот это место
====[um_eth_net_util.c] L111-120
   for(in=1;in<argc;in+=2) {
     if((new_fd = socket_tap_setup(argv[in])) > 0) {           <-------- 
Здесь
       fprintf(stderr,"TAP: %s\n",argv[in]);
       type = SOCKET_TAP;
     } else if((new_fd = socket_phy_setup(argv[in])) > 0) {
       fprintf(stderr,"PHY: %s\n",argv[in]);
       type = SOCKET_PHY;
     } else {
       continue;
     }
========
Когда я вызываю его с параметрами `um_eth_net_util tap0 100` то он не 
находит
устройство /dev/tap0 (в логах пишется что не найден модуль 
char-major-36) хотя
устройство существует. И программа начинает работать с другим типом 
сокета PHY
в место TAP. Если же делать привязку к eth0 то сеть как бы работает, но
машины не могут получить MAC адрес друг друга. Тут скорее всего все 
исправляется
должными настройками.
А вот что это за функция socket_tap_setup и где она описана я уже не 
знаю. По крайней
мере я не нашел ее в /usr/include

-- 
With best regards                    System administrator
Igor Muratov                         mailto:migor@linux.ru.net





             reply	other threads:[~2001-06-09 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-09 13:43 Igor Muratov [this message]
2001-06-13  6:06 ` Konstantin Volckov

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=3B222805.10406@linux.ru.net \
    --to=migor@linux.ru.net \
    --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