Форум русскоязычного сообщества Ubuntu


Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества?
Помогите нам с документацией!

Автор Тема: Помогите с yota [РЕШЕНО]  (Прочитано 1164 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Nuka

  • Автор темы
  • Новичок
  • *
  • Сообщений: 28
    • Просмотр профиля
Помогите с yota [РЕШЕНО]
« : 24 Апреля 2009, 16:55:37 »
1. Качаем драйвер http://code.google.com/p/madwimax/

2. Мне на новый только что поставленный KUBUNTU 9.04 надо было поставить pkg-config libusb-1.0-0 libusb-1.0-0-dev
sudo apt-get install pkg-config
sudo apt-get install libusb-1.0-0
sudo apt-get install libusb-1.0-0-dev

3. Распаковываем скаченный архив во временную папку и в этой папке в консоле
./configure
make
sudo make install

4. Установилось это все в папку /usr/local/madwimax/, теперь запускаем сам драйвер
nuka@elibuntu:/usr/local/madwimax/sbin$ sudo /usr/local/madwimax/sbin/madwimax
Device found
Claimed interface
Allocated tap interface: wimax0

5. Открываем ещё одну консоль и выполняем от рута.
sudo ifconfig wimax0 up

nuka@elibuntu:/usr/local/madwimax/sbin$ sudo dhclient wimax0
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wimax0/00:23:3a:cd:de:34
Sending on   LPF/wimax0/00:23:3a:cd:de:34
Sending on   Socket/fallback
DHCPDISCOVER on wimax0 to 255.255.255.255 port 67 interval 6
DHCPOFFER of 94.25.242.64 from 94.25.240.1
DHCPREQUEST of 94.25.242.64 on wimax0 to 255.255.255.255 port 67
DHCPACK of 94.25.242.64 from 94.25.240.1
bound to 94.25.242.64 -- renewal in 4800 seconds.

6. Вот и все пользуйся не хочу, сейчас пишу из под ЕТЫ =)

P.S.
Был бы рад если кто толково объяснит по 5у пункту что к чему и для чего. Теперь надо раздать на другие компы..... но это уже другая история. Ниже описан ход прихода к этому маленькому счастью =)

Усб модем yota, для него скачал драйвер http://code.google.com/p/madwimax/  версия madwimax-0.1.0.tar.gz распокавал и пытаюсь скомпилить.
ubuntu@ubuntu:~/Документы/madwimax-0.1.0$ ./configure
MadWimax version 0.1.0                               
checking build system type... i686-pc-linux-gnu     
checking host system type... i686-pc-linux-gnu       
checking target system type... i686-pc-linux-gnu     
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes           
checking for a thread-safe mkdir -p... /bin/mkdir -p       
checking for gawk... no                                     
checking for mawk... mawk                                   
checking whether make sets $(MAKE)... yes                   
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... 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 gcc accepts -g... yes                                   
checking for gcc option to accept ISO C89... none needed                 
checking for style of include used by make... GNU                         
checking dependency style of gcc... gcc3                                 
checking for a BSD-compatible install... /usr/bin/install -c             
checking how to run the C preprocessor... 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 for stdlib.h... (cached) yes                                     
checking for string.h... (cached) yes                                     
checking syslog.h usability... yes                                       
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for vprintf... yes
checking for _doprnt... no
checking for wait3 that fills in rusage... yes
checking for gettimeofday... yes
checking for memset... yes
checking for socket... yes
checking for strchr... yes
checking for strerror... yes
checking for strtoul... yes
checking for pkg-config... no
ubuntu@ubuntu:~/Документы/madwimax-0.1.0$
Затем
ubuntu@ubuntu:~/Документы/madwimax-0.1.0$ make
make: *** No targets specified and no makefile found.  Stop.
или
ubuntu@ubuntu:~/Документы/madwimax-0.1.0$ make install
make: *** No rule to make target `install'.  Stop.
Вобщем неработает чего то =)
« Последнее редактирование: 24 Апреля 2009, 18:54:57 от Nuka »

Оффлайн digiwhite

  • Активист
  • *
  • Сообщений: 732
  • http://www.welinux.ru
    • Просмотр профиля
    • http://www.welinux.ru
Re: Помогите с yota
« Ответ #1 : 24 Апреля 2009, 16:56:40 »
https://forum.ubuntu.ru/index.php?topic=2269.0

Надо поставить утлиты для разработки. По дефолту в убунте они не стоят. ЧТо за пакеты - щас не вспомню. Конкретно у вас затыкается на pkg-config.
Попробуйте sudo apt-get install pkg-config
« Последнее редактирование: 24 Апреля 2009, 16:58:42 от digiwhite »
Социальная сеть не фанатично настроенных Linuxойдов - http://www.welinux.ru

Оффлайн Nuka

  • Автор темы
  • Новичок
  • *
  • Сообщений: 28
    • Просмотр профиля
Re: Помогите с yota
« Ответ #2 : 24 Апреля 2009, 17:15:21 »
Вот незадача, ошибка в апт гете
ubuntu@ubuntu:~/Документы/madwimax-0.1.0$ sudo apt-get install pkg-config
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
НОВЫЕ пакеты, которые будут установлены:
  pkg-config
обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Failed to exec method /usr/lib/apt/methods/http
E: Method http has died unexpectedly!
E: Метод /usr/lib/apt/methods/http запустился не корректно
ubuntu@ubuntu:~/Документы/madwimax-0.1.0$
и в KPackageKit
A problem that we were not expecting has occurred.
Please report this bug with the error description.
Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/packagekit/daemonBackend.py", line 109, in run threading.Thread.run(self) File "/usr/lib/python2.6/threading.py", line 477, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/packagekit/aptDBUSBackend.py", line 168, in wrapper func(*args, **kwargs) File "/usr/lib/packagekit/aptDBUSBackend.py", line 1231, in doInstallPackages if not self._commit_changes(): return False File "/usr/lib/packagekit/aptDBUSBackend.py", line 1704, in _commit_changes PackageKitInstallProgress(self, install_range)) File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 274, in commit res = self._fetchArchives(fetcher, pm) File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 201, in _fetchArchives if not pm.GetArchives(fetcher, self._list, self._records): SystemError: E:Method http has died unexpectedly!, E:Method /usr/lib/apt/methods/http did not start correctly

Пользователь решил продолжить мысль 24 Апреля 2009, 14:01:25:
Заработал АПТ-Гет теперь затык на libusb
nuka@elibuntu:~/YotaWiMax/madwimax-0.1.0$ ./configure       
MadWimax version 0.1.0                                     
checking build system type... i686-pc-linux-gnu             
checking host system type... i686-pc-linux-gnu             
checking target system type... i686-pc-linux-gnu           
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes           
checking for a thread-safe mkdir -p... /bin/mkdir -p       
checking for gawk... no                                     
checking for mawk... mawk                                   
checking whether make sets $(MAKE)... yes                   
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... 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 gcc accepts -g... yes                                   
checking for gcc option to accept ISO C89... none needed                 
checking for style of include used by make... GNU                         
checking dependency style of gcc... gcc3                                 
checking for a BSD-compatible install... /usr/bin/install -c             
checking how to run the C preprocessor... 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 for stdlib.h... (cached) yes                                     
checking for string.h... (cached) yes                                     
checking syslog.h usability... yes                                       
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for vprintf... yes
checking for _doprnt... no
checking for wait3 that fills in rusage... yes
checking for gettimeofday... yes
checking for memset... yes
checking for socket... yes
checking for strchr... yes
checking for strerror... yes
checking for strtoul... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libusb1... no
nuka@elibuntu:~/YotaWiMax/madwimax-0.1.0$

Пользователь решил продолжить мысль 24 Апреля 2009, 16:07:22:

Что надо поставить из всего этого многообразия?

Пользователь решил продолжить мысль 24 Апреля 2009, 18:28:42:
Вроде установил.....
выполнил make && make install
nuka@elibuntu:~/YotaWiMax/madwimax-0.1.0$ sudo make install
Making install in include                                 
make[1]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0/include'
MADWIMAX_VERSION: "0.1.0"                                           
test -f madwimax_version.h || cp _madwimax_version.h madwimax_version.h
cmp -s _madwimax_version.h madwimax_version.h || cp _madwimax_version.h madwimax_version.h
rm -f _madwimax_version.h                                                                 
make  install-am                                                                         
make[2]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0/include'                     
make[3]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0/include'                     
make[3]: Цель `install-exec-am' не требует выполнения команд.                             
make[3]: Цель `install-data-am' не требует выполнения команд.                             
make[3]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0/include'                 
make[2]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0/include'                 
make[1]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0/include'                 
Making install in src                                                                     
make[1]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0/src'                         
make[2]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0/src'                         
test -z "/usr/local/madwimax/sbin" || /bin/mkdir -p "/usr/local/madwimax/sbin"
  /usr/bin/install -c 'madwimax' '/usr/local/madwimax/sbin/madwimax'
make[2]: Цель `install-data-am' не требует выполнения команд.
make[2]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0/src'
make[1]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0/src'
Making install in scripts
make[1]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts'
Making install in events
make[2]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts/events'
make[3]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts/events'
make[3]: Цель `install-exec-am' не требует выполнения команд.
test -z "/usr/local/madwimax/etc" || /bin/mkdir -p "/usr/local/madwimax/etc"
 /usr/bin/install -c 'event.sh' '/usr/local/madwimax/etc/event.sh'
make[3]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts/events'
make[2]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts/events'
Making install in udev
make[2]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts/udev'
make[3]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts/udev'
make[3]: Цель `install-exec-am' не требует выполнения команд.
test -z "/etc/udev/rules.d" || /bin/mkdir -p "/etc/udev/rules.d"
 /usr/bin/install -c -m 644 'z60_madwimax.rules' '/etc/udev/rules.d/z60_madwimax.rules'
make[3]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts/udev'
make[2]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts/udev'
make[2]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts'
make[3]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts'
make[3]: Цель `install-exec-am' не требует выполнения команд.
make[3]: Цель `install-data-am' не требует выполнения команд.
make[3]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts'
make[2]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts'
make[1]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0/scripts'
make[1]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0'
make[2]: Вход в каталог `/home/nuka/YotaWiMax/madwimax-0.1.0'
make[2]: Цель `install-exec-am' не требует выполнения команд.
make[2]: Цель `install-data-am' не требует выполнения команд.
make[2]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0'
make[1]: Выход из каталога `/home/nuka/YotaWiMax/madwimax-0.1.0'
nuka@elibuntu:~/YotaWiMax/madwimax-0.1.0$
Пишу в консле wimax и ничего не запускаеться.... =(
« Последнее редактирование: 24 Апреля 2009, 18:28:42 от Nuka »

 

Страница сгенерирована за 0.019 секунд. Запросов: 19.